2 ms·
this is such a generic statement... as long as you de-allocate on exit it wont show up as leak, that doesnt mean the app is not continuously allocating more mem
by iExploder 2y ago
this is such a generic statement... as long as you de-allocate on exit it wont show up as leak, that doesnt mean the app is not continuously allocating more memory, whether as bug or for a valid reason is up to you to find out...
you can try https://gperftools.github.io/gperftools/heapprofile.html https://gperftools.github.io/gperftools/heapprofile.html setup HEAP_PROFILE_TIME_INTERVAL and look at the reports to see which code lines keep allocating memory...