Have you tried running your app under Massif? That has helped me recently to track down a memory leak which was not visible in Valgrind/Memcheck but became clearly visible in Valgrind/Massif (the leak was caused by repeated setenv() calls, which apparently don't free any memory even if the env var is unset later).
Am Dienstag, den 12.10.2010, 18:25 -0700 schrieb Olivier Chalouhi: > Hi, > > When running my app (written in Vala, using libgee and libxml2), I can see > that even after everything should have been freed, it's still using about > 800MB of ram (under top and the gnome system monitor). I've tried to see what > the source of the "leak" is using valgrind, but valgrind only sees 24MB of > "possibly lost" memory. > > I was wondering if anyone would know what could be the source for the > difference between top / g-s-m and valgrind ? Assuming valgrind is right (and > the app is actually not really leaking), how could I force the OS to see that > the memory usage is back to a regular level ? > > While running, the app will allocate up to 1.2GB of RAM, but all that is > supposed to get freed. > > Thanks in advance, > > Olivier > > > ------------------------------------------------------------------------------ > Beautiful is writing same markup. Internet Explorer 9 supports > standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. > Spend less time writing and rewriting code and more time creating great > experiences on the web. Be a part of the beta today. > http://p.sf.net/sfu/beautyoftheweb > _______________________________________________ > Valgrind-users mailing list > Valgrind-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/valgrind-users > ------------------------------------------------------------------------------ Download new Adobe(R) Flash(R) Builder(TM) 4 The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly Flex(R) Builder(TM)) enable the development of rich applications that run across multiple browsers and platforms. Download your free trials today! http://p.sf.net/sfu/adobe-dev2dev _______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users