Mozilla.embedding wrote:
Hello ! i'm trying to release most of my variables at right time in my program when i don't need them anymore. I'd like to know if memory is really free after the web page is loaded and before loading another one (should i have to release nsString ? PRUint32 ?). When my application stops, i have this following message and i'd like to understand what it means: " Chrome destroyed... end nsStringStats => mAllocCount: 22143 => mReallocCount: 3710 => mFreeCount: 20154 => mShareCount: 17855 => mAdoptCount: 2973 => mAdoptFreeCount: 2831"
Can anyone help me to understand ?
Thanks a lot.
mAllocCount
The number of "heap allocated, sharable string buffers"
mReallocCount
The number of "heap allocated, sharable string buffers" that were reallocated
mFreeCount
The number of "heap allocated, sharable string buffers" that were freed
mShareCount
The number of "heap allocated, sharable string buffers" that were shared
mAdoptCount
The number of "heap allocated, non-sharable string buffers" that were subsumed
mAdoptFreeCount
The number of "heap allocated, non-sharable string buffers" that were freed
So, what does that mean? Well, mAllocCount - mFreeCount gives you the number "heap allocated, sharable string buffers" that were leaked. And, mAdoptCount - mAdoptFreeCount gives you the number of "heap allocated, non-sharable string buffers" that were leaked.
-Darin
_______________________________________________ mozilla-embedding mailing list [EMAIL PROTECTED] http://mail.mozilla.org/listinfo/mozilla-embedding
