mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-10-20 07:24:16 +00:00
Every mantle chunk allocated a coroutine mutex for all 256 possible flag ordinals up front, about 66 KB of locks per chunk, although only a few flags are ever raised under a lock. During a pregen those locks took well over a gigabyte of heap and ran 3 GB servers out of memory. Each lock is now created when its flag is first raised. Model used: Claude Opus 5.5