High memory demands render game unplayable

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
gonse
Space Krill
Posts: 6
Joined: Mon Jun 08, 2020 8:20 pm

High memory demands render game unplayable

#1 Post 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
Attachments
Bildschirmfoto_2020-06-13_21-54-13.png
Bildschirmfoto_2020-06-13_21-54-13.png (847.86 KiB) Viewed 2192 times

gonse
Space Krill
Posts: 6
Joined: Mon Jun 08, 2020 8:20 pm

Re: High memory demands render game unplayable

#2 Post by gonse »

... and after ending the game and reloading it takes merely 2GB.
Attachments
Bildschirmfoto_2020-06-13_22-01-26.png
Bildschirmfoto_2020-06-13_22-01-26.png (1.05 MiB) Viewed 2190 times

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13586
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: High memory demands render game unplayable

#3 Post 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

Morlic
AI Contributor
Posts: 296
Joined: Tue Feb 17, 2015 11:54 am

Re: High memory demands render game unplayable

#4 Post 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
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0

User avatar
LienRag
Cosmic Dragon
Posts: 2103
Joined: Fri May 17, 2019 5:03 pm

Re: High memory demands render game unplayable

#5 Post 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).

Post Reply