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: Ralf Westram
Subject: Re: [Enigma-devel] leak hunting - report
Date: Sun, 22 Jun 2003 00:51:14 +0200
User-agent: Mutt/1.5.4i

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.

> If you play the game, even more
> memory disappears, up to 400 KB total. This is not *that* bad, remember
> that it was a lot more than a meg at the beginning. Yet it's a leak and
> leaks don't help.

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.

Ralf




reply via email to

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