Memory Management
Posted: Mon 24 May 2021 08:42
Hi,
I have developed a REST service with EntityDAC / UniDAC on Oracle. Since the services are backend to backend I have disabled the cache to be able to control and manage the memory.
I create and destroy the context at each use and the Context has the option Options.Cache.Enable: = False
Despite this, the memory continues to grow. Faced with the destruction of the contex, the memory is not freed. This is a big problem because after a few weeks I am forced to restart the service!
I have also activated the verification of memory leaks and there are none. When the application is closed, everything is closed correctly
I have reported other issues for the past 5 months and have not yet received an answer. At this point if I can't solve this memory problem I'm forced to throw away the project and do it again!
I have developed a REST service with EntityDAC / UniDAC on Oracle. Since the services are backend to backend I have disabled the cache to be able to control and manage the memory.
I create and destroy the context at each use and the Context has the option Options.Cache.Enable: = False
Despite this, the memory continues to grow. Faced with the destruction of the contex, the memory is not freed. This is a big problem because after a few weeks I am forced to restart the service!
I have also activated the verification of memory leaks and there are none. When the application is closed, everything is closed correctly
I have reported other issues for the past 5 months and have not yet received an answer. At this point if I can't solve this memory problem I'm forced to throw away the project and do it again!