Mod GC Time
-
- Fast Inserter
- Posts: 193
- Joined: Sun Oct 05, 2014 6:12 am
- Contact:
Mod GC Time
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)?
Re: Mod GC Time
The show-lua-object-statistics debug option should help with that.
This is update time (avg/min/max), created objects (avg/min/max [total]), destroyed objects (avg/min/max [total]).
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.