I am using Delphi 6 which has the old memory manager.
My program reads in and processes a large dataset. All memory is freed correctly whenever I clear the dataset or exit the program. It has no memory leaks at all.
24 MB used after starting my program with no dataset. 250 MB used after loading a large dataset. 24 MB KB after clearing the dataset completely.
but when i used Delphi 2007 which has the FastMM4 memory manager built into it, not all memory freed (i have memory leak when compile the same code using Delphi 2007)
24 MB used after starting my program with no dataset. 300 MB used after loading a large dataset. 70 MB KB after clearing the dataset completely.
but if i use ShereMem in the .dpr project(Dlphi 2007) with Borlandmm.dll from delphi6 its working fine without memory leak
i used external FastMM (not build in) with Delphi 6, the result are same as Delphi 2007 (i have memory leak using Delphi 6 with FastMM)
so its seem there is a problem when using FastMM
how can fix this issue, and keep using FAstMM?