سؤال

I use open source dynamic library (spider monkey) , and found memory usage is growing and it will be free when program exit.

but I didn't know where ?

How do I detect something like this

I've used valgrind to detect memory leak , and it report no memory leak.

Thank you very much for you kindness help.

Best Regards

Den

هل كانت مفيدة؟

المحلول

Using massif tool in valgrind will help to snapshot heap profile

localtime_r consuming some memory before program exit

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top