enigma-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Enigma-devel] leak hunting - report


From: Petr Machata
Subject: Re: [Enigma-devel] leak hunting - report
Date: Sun, 22 Jun 2003 14:45:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3; MultiZilla v1.4.0.2) Gecko/20030312

Ralf Westram wrote:
Hello Petr,


Today I kind-of finished leak hunting in Enigma code. My goal was to
eliminate all leaks reported by Valgrind 1.9.4.
I wasn't able to remove all leaks. Valgrind claims that there are
currenly some 250 KB leaked, and this leak occurs even if all you do is
enter the game and exit immediately.


My valgrind (1.0.4) reports 230k of these 250k as 'still reachable'. A
quick look showed that most of these are caused by static data. I
think we should not worry about it.

After starting a level and then shutting down it only reports 3.4k of
really lost memory (opposed to 413k of 'still reachable' memory).
What I want to say: I do not see many "real" leaks.

I hoped for similar answer :) Then it's ok, those 400kilos are really reported as 'still reachable'.


Ralf


Petr Machata






reply via email to

[Prev in Thread] Current Thread [Next in Thread]