Page 1 of 1

memory leak? (linux) [b13]

Posted: Wed Nov 03, 2010 2:11 pm
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

Re: memory leak? (linux) [b13]

Posted: Wed Nov 03, 2010 2:38 pm
by darkgod
Hum

Any special situations that trigger that ?

Re: memory leak? (linux) [b13]

Posted: Wed Nov 03, 2010 7:07 pm
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

Re: memory leak? (linux) [b13]

Posted: Wed Nov 03, 2010 9:29 pm
by madmonk
GDB might be a better way to go and, yes, very useful (potentially!)