Michael Van Canneyt wrote: >> Maybe you can poll /proc/$PID/status > > Why not simply use heaptrc ? It prints a summary ? Or even GetFPCHeapStatus.MaxHeapUsed. Micha