Iwan Aucamp wrote:
Hi
I have observed something which looks like a memory leak in an application - pmap shows heap size growing at a considerable rate. I have tried to track down the leak using several tools which identifies memory leaks - and even wrote one myself - none of these found anything:
 - Libumem
 - Valgrind
(on linux since the application works on linux also - but runs on solaris in production) - Malloc interposer which keeps account of allocated memory and prints out summary file based on stack traces which lead to malloc. The application in question is a multithreaded (50 worker threads) application which quite heavily relies on malloc and does not really try to prevent heap fragmentation. My question is: could severe heap fragmentation leave heap space unusable and thus create something which appears to be a memory leak ?

I don't think so -- at least not with libumem. With other memory management libraries this could happen.

   - Garrett
Regards
------------------------------------------------------------------------

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to