Forums for the FreeOrion project
It is currently Sat Nov 28, 2015 11:11 am

All times are UTC

Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Tue Oct 30, 2012 8:31 pm 
Space Krill

Joined: Thu Oct 25, 2012 7:31 am
Posts: 1
I am playing SVN 5284 with 16GB of RAM in my machine.

I noticed that FreeOrionD crashed while having allocated around 1.2GB of memory (during long sessions) aready multiple times.
After restarting and loading the saved games, I could go on playing (memory leak?). So I could not post a savegame that recreates this bug...
Until now (well, sometimes it needs two turns to crash, but it does at last) :)

This late-game savegame has many ships (by the AI) and upon loading, FreeOrionD goes up to ~1.1GB RAM usage, FreeOrionCA to ~450MB, FreeOrion to ~460MB.

After pressing "Turn", FreeOrion and CA grow in memory usage as well, but FreeOrionD reaches 1.5GB and exits (including FreeOrionCA).
FreeOrion then tells me that the connection has been lost.

I tested directly loading the save and quitting/restarting/loading as well, but now I can't go on playing like the other times.

I would have added another bug to the bug tracker, but as that one only allows 256kb attachments, I post it here :)

If you have any questions, I am happy to answer, I monitor this forum as well as my mails!
Hope this helps fixing it, I only can compile and play (and loving playing it, btw) :)

Edit: Savegame too big for attachment here as well (slightly over 2MB compressed with 7-zip v9.20), available at

Edit II: Confirmed with SVN 5357, just saw that the version number in the info panel doesn't update with SVN but is hardcoded, might have been a newer version than 5284 before...

File comment: Logfiles
FreeOrion-logs.7z [103.8 KiB]
Downloaded 4 times
PostPosted: Wed Oct 31, 2012 2:02 am 
Programming, Design, and De Facto Lead
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 11191
Location: Munich
After a few tweaks to reduce logging volume, I was able to play a few turns of the save, until eventually the server crashed with "main() caught exception(std::exception): bad allocation" in the log, which does look like a memory issue.

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group