memory leak? (linux) [b13]

Moderator: Moderator

Post Reply
Message
Author
Vee
Thalore
Posts: 127
Joined: Tue Nov 02, 2010 10:27 pm

memory leak? (linux) [b13]

#1 Post by Vee »

I have 1GB memory, and on two different disks each another GB swap partition.
Given firefox uses quite a bit for swapping, but not that much...

t-engine runs smoothly for some time, but increases memory/swap usage, until it hickups somewhere. (several hundred MB of swap and 70% memory usage?) The symptoms vary: sometimes graphics don't get updated, but console log still shows progress. In this case its still possible to save and exit. But other times the complete game freezes trying but not succeeding to save...

I had to swapon/swapoff the swap partitions, to clean the garbage left there, as I had to kill -9(!) t-engine in the latter case.

Vee
greycat wrote:An intervention was required (kill -9)

darkgod
Master of Eyal
Posts: 10750
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: memory leak? (linux) [b13]

#2 Post by darkgod »

Hum

Any special situations that trigger that ?
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Vee
Thalore
Posts: 127
Joined: Tue Nov 02, 2010 10:27 pm

Re: memory leak? (linux) [b13]

#3 Post by Vee »

Unfortunately the increasing memory usage (and swap usage) is gradually and takes several hours of play to lead to perceivable symptoms. I'll play around with deactivating swapspace and such, to see if I can get more on the problem.

I know that memory issues are some of the hardest things to debug, so unless someone else can provide some more insight, this will probably take some time to get more information on. If something like console-logs are of any use, just say so, and I'll log them to a file...

Vee
greycat wrote:An intervention was required (kill -9)

madmonk
Reaper
Posts: 2257
Joined: Wed Dec 12, 2007 12:21 am
Location: New Zealand

Re: memory leak? (linux) [b13]

#4 Post by madmonk »

GDB might be a better way to go and, yes, very useful (potentially!)
Regards

Jon.

Post Reply