skafy Posted September 9, 2016 Share Posted September 9, 2016 When I open new session application consume some of RAM, but when I terminate session, application doesn't release as much RAM as it took it for the session. Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 9, 2016 Administrators Share Posted September 9, 2016 How do you check this? You can use ServerMonitor to precisely observe memory consumption: http://yourserverurl/server Quote Link to comment Share on other sites More sharing options...
skafy Posted September 9, 2016 Author Share Posted September 9, 2016 Ok I forgot about built in server monitor. So... internal memory seems to be ok. when session is created and older terminated it raises and drops (to same value as before). But process memory does not drop. Why would that be? Also, why is Memory(Process) in server monitor and memory consuption in task maneger not equal? Quote Link to comment Share on other sites More sharing options...
md9projetos Posted September 9, 2016 Share Posted September 9, 2016 This happens with Intraweb all the Time also ,In fact its not memory wasted but the way memory is managed,in order to be faster,it depends on Delphi version also. I can´t remember,but i guess there are Fastmm settings that can change this behaviour,although not advised. Are you using the ISAPI DLL? http://borland.public.delphi.thirdpartytools.intraweb.narkive.com/VGdkbAdu/how-to-know-the-memory-of-standalone-application-using Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 9, 2016 Administrators Share Posted September 9, 2016 Windows doesnt give the allocated memory back to pool immediately. It keeps the memory block in case your app will need to allocate again. 1 Quote Link to comment Share on other sites More sharing options...
skafy Posted November 30, 2016 Author Share Posted November 30, 2016 Thank you md9projetos & Fashad! Quote Link to comment Share on other sites More sharing options...
skafy Posted December 1, 2016 Author Share Posted December 1, 2016 Does Memory (process) ever released? or is allways reserved for application once it was taken. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.