Quote:
Originally Posted by FantaJ
I can see it growing with TOP (VIRT and RES).
|
Quote:
The app is still running but does it not release the memory until another app needs it?
|
Which do you expect it to release: virtual or physical?
If the app is done with the data objects taking up the virtual memory and has correctly released those data objects, it is still a complex process to get the virtual memory released and even without any memory leak there may be no significant release of virtual memory without the app exiting.
If the app does release any virtual memory, then necessarily the OS will take back the associated physical memory. Other than that, the app has no way to release physical memory.
If the app is holding on to dead virtual memory that it isn't actually using, it is normal and correct for the OS to swap that out only when some other task wants some memory.