Spring MT linux64 crashes with memory usage spike

Spring MT linux64 crashes with memory usage spike

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
sillynanny
Posts: 125
Joined: 20 Jun 2008, 14:26

Spring MT linux64 crashes with memory usage spike

Post by sillynanny »

I have recently been trying the multithreaded linux64 build of spring on an Intel I7 with 8 gigs of ram. At what seem to be random times, in about 20% of the games, spring will freeze, the memory usage shoots up and the system becomes unusable.

I can see the memory usage go up from about 1 gig to 8 gig in 2 or 3 seconds in a taskbar widget. Then i have a few seconds in which it will be possible to kill the spring process, and if I don't, the system becomes unusable with heavy thrashing and swap usage.

The problem does not happen with the single threaded version. The binaries are from the ubuntu ppa repository.
User avatar
Forboding Angel
Evolution RTS Developer
Posts: 14673
Joined: 17 Nov 2005, 02:43

Re: Spring MT linux64 crashes with memory usage spike

Post by Forboding Angel »

MT is completely broken for everything except BA atm. Don't use it.
User avatar
sillynanny
Posts: 125
Joined: 20 Jun 2008, 14:26

Re: Spring MT linux64 crashes with memory usage spike

Post by sillynanny »

Just for reference, I was playing BA.
zerver
Spring Developer
Posts: 1358
Joined: 16 Dec 2006, 20:59

Re: Spring MT linux64 crashes with memory usage spike

Post by zerver »

Forbs comment wasn't very helpful :)

MT is completely untested with 64 bit. I'm surprised it even started.

I don't have a 64bit os installed, so cannot help atm. Sorry :(

If you could attach a debugger and halt the exe when the problem occurs, maybe you could get a stack trace.
User avatar
sillynanny
Posts: 125
Joined: 20 Jun 2008, 14:26

Re: Spring MT linux64 crashes with memory usage spike

Post by sillynanny »

zerver, if you have a 64 bit capable CPU you can install a 64 bit OS under Virtualbox even if your host OS is 32bit.

About the stack trace, if you can post instructions on what to do, I could try. I am familiar with the command line stuffs, I just need to do how to invoke the debugger and how to obtain the stack trace. This might be tricky because memory usage shoots up quickly and I will have only a few seconds to get the trace saved to disk before it all goes down thrashing.
Post Reply

Return to “Help & Bugs”