Again heaptrc dump interpretation

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Again heaptrc dump interpretation

denisgolovan
Hi all

I am getting following dump after my application exits.

Heap dump by heaptrc unit
342662 memory blocks allocated : 7318105636/7319146560
342662 memory blocks freed     : 7318105636/7319146560
0 unfreed memory blocks : 0
True heap size : 7276691456
True free heap : 1773152
Should be : 7276691456

Could somebody explain what "Should be" (7Gb here) is?
Is it some memory leak which is not tracked by heaptrc?

--
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Again heaptrc dump interpretation

wkitty42
On 12/10/2017 03:45 PM, denisgolovan wrote:
> True heap size : 7276691456
> Should be : 7276691456


IIUC, if these two do not match, you might have a memory leak... keep up also
with your memory blocks allocated and freed...


--
  NOTE: No off-list assistance is given without prior approval.
        *Please keep mailing list traffic on the list unless*
        *a signed and pre-paid contract is in effect with us.*
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Reply | Threaded
Open this post in threaded view
|

Re: Again heaptrc dump interpretation

denisgolovan


> IIUC, if these two do not match, you might have a memory leak... keep up also
> with your memory blocks allocated and freed...

Well. I feel something is wrong.
But how can it be? I mean all allocated blocks were freed.
I'd like to know for sure what that "Should be" means.

--
Regards,
Denis Golovan
_______________________________________________
fpc-pascal maillist  -  [hidden email]
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal