I have a Delphi Apache Shared Module. The base class is TWebModule. I can run it using the debugger by specifying the following parameters:
Host Application: C:\Program Files\Apache Software Foundation\Apache2.2\bin\httpd.exe
Parameters: -X -w -f “C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf”
I believe I may have a memory leak somewhere in my code. I have tried both EurekaLog and FastMM but haven’t been able to get them to detect any leaks let alone do any useful logging. For FastMM I have defined FullDebugMode. But when I run no log files are ever created.
I have successfully used Eureka Log to detects leaks for Win32 applications. But the integration with Apache has proven very difficult.
Can anyone offer strategies/tools for tracking memory leaks for a Apache Dynamic Shared Object?
For FastMM4, you have to make sure you defined also :
I would also try without requiring the IDE or debugger be present:
Make also sure you have debug info turned on or disable: