diff options
| author | eipastel <thiagodev.diogo@gmail.com> | 2026-12-02 13:43:28 -0300 |
|---|---|---|
| committer | eipastel <thiagodev.diogo@gmail.com> | 2026-12-02 13:43:28 -0300 |
| commit | 2d2ae41b9de7838c46f63341c9e0871976a30220 (patch) | |
| tree | 96d7cd4d4cb0c4dc98453d92ced684f115dc0dad /runtime/test/vk_queue_constructor_oom_test.cpp | |
| parent | 5b1fff821cfa5a812de6a33b09f5938ba3406b52 (diff) | |
leonida-lua: each mod gets a Lua state of its own, so its memory limit is its own (D3D12-LUA-MEMORY-LIMIT-IS-STATE-WIDE)
One Lua state held every mod, so the 128 MiB limit was one budget for all
of them: a mod holding memory made another's ordinary allocation fail, and
collectgarbage("count") reported the other mods' memory too. Each mod now
loads into its own state (one shared time guard, since one call runs at a
time), with the same 128 MiB limit.
Diffstat (limited to 'runtime/test/vk_queue_constructor_oom_test.cpp')
0 files changed, 0 insertions, 0 deletions