2025-07-21 13:19 CEST

View Revisions: Issue #4568

Summary 0004568: Lua Garbage-Collector sometimes doesn't catch up fast enough when to many allocations are made / frame
Revision 2014-09-30 21:16 by abma
Additional Information Engine: Lua-allocated memory at 12:00:
--------------------------------------

97.0.1-450: 223.5 MB
97.0.1-350: 79.7 MB
97.0.1-250:~ 100 MB (screenshot missing)
97.0.1-210: 86.1 MB
97.0.1-208: 22.7 MB
97.0.1-208: 62.2 MB (second run)
97.0: 138.5 MB
96.0.1-408: 97.8 MB
96.0: 15.9 MB (with luaui)
96.0.1: 4.3 MB

It seems that the memory starts to increase after some event, because in 250 and 350 the memory stayed at about 30 Mb until maybe 9 minutes, then it started increasing. Once this happens it increases exponentially I seems. In 208 run 2 the memory stayed at 23 Mb until 11 mins, then it increased in 1 minute to 62.2 Mb.

At 12 minutes, the AI:s operating under no-cost have about 700 - 1000 units and are fighting a lot, although they may differ from game to game. They usually get about 700 units at the 8 minute mark or so.
Revision 2014-09-30 20:04 by Jools
Additional Information Engine: Lua-allocated memory at 12:00:
--------------------------------------

97.0.1-450: 223.5 MB
97.0.1-350: 79.7 MB
97.0.1-250: 0000064:0000100 MB (screenshot missing)
97.0.1-210: 86.1 MB
97.0.1-208: 22.7 MB
97.0.1-208: 62.2 MB (second run)
97.0: 138.5 MB
96.0.1-408: 97.8 MB
96.0: 15.9 MB (with luaui)
96.0.1: 4.3 MB

It seems that the memory starts to increase after some event, because in 250 and 350 the memory stayed at about 30 Mb until maybe 9 minutes, then it started increasing. Once this happens it increases exponentially I seems. In 208 run 2 the memory stayed at 23 Mb until 11 mins, then it increased in 1 minute to 62.2 Mb.

At 12 minutes, the AI:s operating under no-cost have about 700 - 1000 units and are fighting a lot, although they may differ from game to game. They usually get about 700 units at the 8 minute mark or so.