>of the "leak" is using valgrind, but valgrind only sees 24MB >of "possibly lost" memory. For what concerns the possibly lost, a bug has been recently fixed in 3.6.0 SVN. Before this fix, memcheck was giving a lot of "false possibly lost". See http://bugs.kde.org/show_bug.cgi?id=206600
>leaking), how could I force the OS to see that the memory >usage is back to a regular level ? On most OS (and at least on gnu/linux), libc malloc/free does not return (all of) the memory to the Operating System after free. Only big blocks are specially handled and are "fully" returned to the OS when free is called : big blocks are allocated using mmap, while smaller blocks are allocated using brk. (you might look at http://bugs.kde.org/show_bug.cgi?id=250101 which somewhat explores this in the framework of huge "unused" memory under valgrind). To my knowledge, there is nothing that can force to decrease the size of the "brk allocated" region used by malloc. ____ This message and any files transmitted with it are legally privileged and intended for the sole use of the individual(s) or entity to whom they are addressed. If you are not the intended recipient, please notify the sender by reply and delete the message and any attachments from your system. Any unauthorised use or disclosure of the content of this message is strictly prohibited and may be unlawful. Nothing in this e-mail message amounts to a contractual or legal commitment on the part of EUROCONTROL, unless it is confirmed by appropriately signed hard copy. Any views expressed in this message are those of the sender. ------------------------------------------------------------------------------ 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