Mod GC Time

Anything that prevents you from playing the game properly. Do you have issues playing for the game, downloading it or successfully running it on your computer? Let us know here.
OvermindDL1
Fast Inserter
Fast Inserter
Posts: 193
Joined: Sun Oct 05, 2014 6:12 am
Contact:

Mod GC Time

Post by OvermindDL1 »

I have a (large) number of mods on my server where some are creating a lot of garbage memory instead of using pools or so as they should be doing. This is causing the LUA Incremental GC time to take almost *4* times the amount of time that LUA script processing itself is taking. Right now the LUA GC profile time just reports the overall time, but is there some (possibly slow due to ownership reporting) reporting of the memory of what is being GC'd so I can blame the mods that are causing the majority of the GC's and poke them to fix their code (or PR fixes if possible for them)?
Bilka
Factorio Staff
Factorio Staff
Posts: 3309
Joined: Sat Aug 13, 2016 9:20 am
Contact:

Re: Mod GC Time

Post by Bilka »

The show-lua-object-statistics debug option should help with that.

Image

This is update time (avg/min/max), created objects (avg/min/max [total]), destroyed objects (avg/min/max [total]).
I'm an admin over at https://wiki.factorio.com. Feel free to contact me if there's anything wrong (or right) with it.
Post Reply

Return to “Technical Help”