Possible memory leak: game open for over 48h reaches 5GB and becomes sluggish

Fixed Performance
thetaphi [github] · 4 years ago

I've tried to keep a game instance open for a while, pausing instead of closing the game, for about 48h.
Play time maybe 10-14h, didn't keep track. Memory image >5GB (Fresh load of the same save is 3GB in RAM), game gets sluggish, closing it took ages and a force close in the end.

Attaching the log, and the savegame in case it's not a problem of the long run time in the first place, but something with the setup there.

A lot of "~Sim: Path finder crazy busy: XX tasks is waiting in the queue." where 25 < XX < 40.
22-01-03_03-48-24_8939.log

The Beach, 323 years, 109 vehicles.
The Beach_ Great Coal Line.save

Files not imported: The Beach_ Great Coal Line.save

1 attachment only for registered users
thetaphi [github] · 4 years ago

Latest log from running the map for two days.

Memory footprint went up to 6GB. Still waiting for the game to actually close after hitting quit five minutes ago ^^

22-01-04_07-17-43_8611.log

1 attachment only for registered users
Captain Filip Captain Filip · 4 years ago

Thanks for the reports, we will look into this.

Captain Filip Captain Filip · 3 years ago

Was this several subsequent game reloads or one really long session?

thetaphi [github] · 3 years ago

One really long session. That save game is out of date, do you want me to try to build a new test case after all the refactoring you've done?

Captain Filip Captain Filip · 3 years ago

I believe we have fixed memory issues during EA 1. If you still experience this on the latest version, please file a new bug. Thanks!

Closed as ✅ Fixed

7 Showing 1–6 of 6