mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2026-10-05 19:28:25 +00:00
Per Kotlin review: each test built a fresh 4000x3000 Ultra HDR fixture (~48 MB) and fully decoded large bitmaps without releasing them, which can flake with OOM on constrained CI devices. Recycle the fixture and every direct decode, gain map contents included (the gain map is a separate bitmap). Coil's bitmaps stay owned by Coil: shut the loaders down instead of recycling what their memory cache may hand out again.