Developed a program with Apache, Delphi XE7 and Datasnap. My Apache httpd.exe consumes memory until I give the message "Out of Memory" so I need to restart Apache.
I configured ServerModule (FireDac components, Mysql) and WebModule to run a simple query.
In the Client I have a DBGrid
that shows the Query results
With the Task Manager open and monitoring the memory:
- When you connect and disconnect the
TSQLConnection
or open and close theTClientDataSet
the memory increases.
What I've tried to do:
I ran Pascal Analyzer looking for memory leaks but it's ok, I tried shutting down the keep alive Apache but it did not make any difference, I already used all types of WebModule lifecycle (Session, Server and Invocation) but the problem persists.
Thanks in advance.