debugging crashes

Post your ideas and suggestions how to improve the game.

Moderator: ickputzdirwech

AartBluestoke
Inserter
Inserter
Posts: 36
Joined: Sun Jun 29, 2014 4:50 am
Contact:

debugging crashes

Post 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.
Post Reply

Return to “Ideas and Suggestions”