Train Log

by zomis

Keep a record of all train journeys, how much items are going where. Perfect for use with mods like LTN but also works great without other mods.

Content
1 year, 1 month ago
1.1 - 2.0
33.5K
Trains

b Excessive Memory Usage and Save File Size Dued to this mod

7 days ago

I am recently playing a save whose play time is 200h+, and there has been a problem where I will have to wait for 7 minutes when I try to save my game. It turns out that in the log file 'factorio-current.log', It took 2GB+ to save 'Train-log' relevant files, and certainly that's what causes the excessive memory usage and saving/loading time. Right after I deleted this mod, the saving/loading process become smooth.

There's not much provided in the log file relevant to this mod except this one:

2162.032 Info LuaGameScript.cpp:668: mod-train-log state size: 2468325987 bytes.

I wonder how this problem would occur since no evidence in the Train Log GUI tells that this mod will be saving every train log throughout the game even it will cause the save file to be extremely large.

Hopefully this bug would be fixed.

6 days ago

How many trains do you have going around? Have you clicked the red button about deleting older information in the mod UI?

Are you playing with Space Exploration or any other mods where trains can go between different surfaces? There was a bug in previous versions where trains going between surfaces was not cleared correctly, but I believe that should have been fixed already.

New response