[fpc-pascal] Is such memory statistics possible?

Ludo Brands ludo.brands at free.fr
Fri Aug 19 20:36:21 CEST 2011


 


OK compiles now. I tested this with 2 programs but when I include
uProcMemMon as the first unit in lpr and define -dPROCMEMMON then they both
crash with a sigsegv. Undefine PROCMEMMON and they run fine.  I've attached
a small testprogram that crashes in bufdataset. 
 

Just a small copy paste problem:
 
change line 295 
 
  Result := OldMemMgr.GetMem(Size);

into
 
  Result := OldMemMgr.AllocMem(Size);

Ludo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110819/5efc687c/attachment.html>


More information about the fpc-pascal mailing list