Sign in Join

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

Mailing lists / lazarus / 2013-11

What are the perfomance and memory usage effects of having heaptrc running?

2 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

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

vfclists .

I want to use heaptrc in a program, but only use the AddExitProc(@DumpHeapTraceOutput) occasionally with a command line switch.

Does heaptrc intercept and monitor memory allocation throughout the program execution, or does it do a scan of memory usage for output only at program shutdown?

Frank Church ======================= http://devblog.brahmancreations.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20131123/e4cc3099/attachment.html>

Reply by email

leledumbo
to vfclists .
Does heaptrc intercept and monitor memory allocation throughout the program

execution, or does it do a scan of memory usage for output only at program shutdown?

Look at the source code, it's open :)
Basically HeapTrc will replace the current memory manager with its own, tracing everything that's related to memory.

Reply by email