Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / fpc-pascal / 2008-01

Heaptrc question

2 messages · 2 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Koenraad Lelong

Hi,
I made an application and I included the heaprace unit (compiled with -gh) to check for memoryleaks. Depending on how long it runs I get more blocks allocated and freed. Should I worry about this ? Or is it just a kind of counter for each allocation and freeing during the run of the program ?
Regards,
Koenraad Lelong.

Jonas Maebe
to Koenraad Lelong
Koenraad Lelong wrote
I made an application and I included the heaprace unit (compiled with -gh) to check for memoryleaks. Depending on how long it runs I get more blocks allocated and freed. Should I worry about this ?

No.

Or is it just a kind of counter for each allocation and freeing during the run of the program ?

Yes.

Jonas