4
I developed a program with Apache, Delphi XE7 and Datasnap. My Apache httpd.exe consumes memory until it gives the "Out of Memory" message so I need to restart Apache.
I configured Servermodule (Firedac components, Mysql) and Webmodule to execute a simple query.
On the Client I have one DBGrid
which displays the Query output
With Task Manager open and memory monitoring:
- When connecting and disconnecting
TSQLConnection
or open and close theTClientDataSet
memory increases.
What I’ve tried to do:
I executed the Pascal Analyzer looking for memory leaks but it’s ok, I tried to turn off the Keep Alive from Apache but it made no difference, I’ve used all kinds of Webmodule lifecycle (Session, Server and Invocation) but the problem persists.
From now on Thank you.
When did you use this command? Because it is in an application
datasnap
server, this can’t cause any problems when using a multi-layered application where each customer has their thread (RemoteDatamodule
)?– user35995