[Overview][Constants][Types][Procedures and functions] Reference for unit 'heaptrc' (#rtl)

tracesize

Specify size of callback trace

Declaration

Source position: heaptrc.pp line 46

const tracesize = 8;

Description

Tracesizespecifies how many levels of calls are displayed of the call stack during the memory dump. If you specify keepreleased:=Truethen half the TraceSizeis reserved for the GetMemcall stack, and the other half is reserved for the FreeMemcall stack. For example, the default value of 8 will cause eight levels of call frames to be dumped for the getmem call if keepreleasedis False. If KeepReleasedis true, then 4 levels of call frames will be dumped for the GetMemcall and 4 frames wil be dumped for the FreeMemcall. If you want to change this value, you must recode the heaptrcunit.