|
Lol. Well I disabled the garbage collector before saving and it
does indeed stop the crash. If I do a full collect after re-enabling it, it
crashes then instead, but at least I have a valid save file. :) I guess I
could always disabled garbage collection on that state completely, and just
have my app eat memory until quitting! As you say, not a solution, but it
means my team can carry on working while I try and figure out what's going
wrong. From: lua-bounces@bazar2.conectiva.com.br [mailto:lua-bounces@bazar2.conectiva.com.br]
On Behalf Of Linker Hi Tom, You can just stop the GC for saving your data by
calling: collectgarbage("stop") It's not a solution for your problem, but just a
work around.(May your time is limited.) Thanks. -- |