View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0003745 | Spring engine | Lua | public | 2013-04-27 06:36 | 2013-04-28 02:57 | ||||
Reporter | msafwan | ||||||||
Assigned To | jK | ||||||||
Priority | low | Severity | feature | Reproducibility | N/A | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 94.1 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0003745: Can there be an option to disabled LUA GC entirely from LUA side or from config file? | ||||||||
Description | Currently I'm trying to manually manage LUA gc, but engine keep restarting LUA gc each frame after I disabled them. Could there be an option to turn off LUA gc forever? I tried commented line 422 here and it disable LUA gc completely: https://github.com/spring/spring/blob/develop/rts/Lua/LuaHandle.cpp#L422 I just want a way to make this official option. Of course there is a risk that LUA will take too much memory (I tried turning off the gc and without widget's gc the LUA took 1gb incredibly quickly) Maybe put the option at LUA interface? | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
msafwan (reporter) 2013-04-27 06:37 |
Okay, maybe not as config, but preferable as callin at LUA interface. |
msafwan (reporter) 2013-04-27 06:50 |
OR! maybe better is to code them in Spring itself. Allow the amount of time spend on GC be configurable. |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2013-04-27 06:36 | msafwan | New Issue | |
2013-04-27 06:37 | msafwan | Note Added: 0010568 | |
2013-04-27 06:50 | msafwan | Note Added: 0010570 | |
2013-04-28 02:57 | jK | Status | new => resolved |
2013-04-28 02:57 | jK | Resolution | open => fixed |
2013-04-28 02:57 | jK | Assigned To | => jK |