View Issue Details
| 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 | ||||
| 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 | |||||