Page 1 of 1

High memory demands render game unplayable

Posted: Sat Jun 13, 2020 7:59 pm
by gonse
Hi there,

with
Building v0.4.10+ build 2020-06-13.ed213fb
and actually already before I see very high memory allocation of a good 8GB in a single player game with 150 systems and 12 opponents.

Today in round 130 it more and more became unplayable. This had been better before.

Regards

Re: High memory demands render game unplayable

Posted: Sat Jun 13, 2020 8:03 pm
by gonse
... and after ending the game and reloading it takes merely 2GB.

Re: High memory demands render game unplayable

Posted: Sun Jun 14, 2020 8:52 am
by Geoff the Medio
Looks like a memory leak in the AI...?

I created a GitHub bug report: https://github.com/freeorion/freeorion/issues/3038

Re: High memory demands render game unplayable

Posted: Mon Jun 15, 2020 9:58 pm
by Morlic
Thank you for the report.

There was indeed a memory leak highlighted by recent changes. It should be fixed by https://github.com/freeorion/freeorion/pull/3050

Re: High memory demands render game unplayable

Posted: Mon Jun 15, 2020 11:10 pm
by LienRag
Off-topic : You're using htop, right ?
How can you get the sum of the memory consumption of all FreeOrion processes ?
I've never been able to do that (well, I've never been able to use htop to its full potential, actually).