Page 1 of 1

debugging crashes

Posted: Sat Jul 05, 2014 11:23 am
by AartBluestoke
Recently Factorio has been crashing with out of memory, due to a memory leak. (memory usage goes up by a few meg per second indefinitely, crashes after using ~7gb of ram in an hour or so)
I suspect one of the mods.

Would it be possible, on a crash, to create a crash report which describes what happened? ideally on an allocation/memory failure ( you get a nice gui message on the screen) you would get a list of the memory usage of all mods / a count of all allocations in LUA (http://bitsquid.blogspot.com.au/2011/08 ... n-lua.html has some ideas for enumerating all LUA objects)

At the moment i just get an "allocation failure" error message whcih bails back to the main menu, with little way to diagnose what is going on behind the scenes.