Is the memory not reclaimed for Delphi apps running on Windows Server 2008 (sp1)?

后端 未结 8 1477
日久生厌
日久生厌 2021-01-03 10:13

We have a D2007 application whose memory footprint grows steadily when running on Windows Server 2008 (x64, sp1).
It behaves normally on Windows Server 2003 (x32 or x64)

8条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-03 10:37

    Did you include FastMM with full debug mode? Just include the FastMM4 unit directly in your project and set

    ReportMemoryLeaksOnShutdown := True
    

    If there is nothing reported, maybe everything is normally freed on program exit (maybe because of reference counting). You could use AQTime to monitor memory in real time. With this application you can see the bytes "counting" for each class name and for rest of the used memory. Maybe you can see who uses the memory. The time limited demo version is enough for this job.

提交回复
热议问题