Operating System - OpenVMS
1753631 Members
5774 Online
108798 Solutions
New Discussion юеВ

Re: Why the memory can not be released.

 
SOLVED
Go to solution
olive_wide
Frequent Advisor

Why the memory can not be released.

Openvms7.3-2
Before I run the application,I use the following:
$moni cluster or$show memory
It shows the memory is used 14%.
After I run the application,use the same:
$moni cluste or$show memory
It shows the memory is used 60%.
Then,I stop the application,and show memory by $moni cluster or $show memory
It still shows the memory is used 60%.
It seems that the memory has not been released.WHY?
4 REPLIES 4
John Gillings
Honored Contributor
Solution

Re: Why the memory can not be released.

olive,

You will need to post the before, during and after displays that you're wondering about. This is probably just an interpretation issue.
A crucible of informative mistakes
John Gillings
Honored Contributor

Re: Why the memory can not be released.

Doh! Sorry, just realised a more likely explanation. If you're talking about the free list not recovering...

The application has, no doubt, read a number of files, which have been moved into the XFC Cache. The cache will retain allocations until the free list gets depleted. So the "missing" 46% of memory are your files sitting in cache, just in case you want to read them all again.

As other processes demand memory, the cache will give it up.

Check SHOW MEM/CACHE as well as SHOW MEM to confirm that it has grown by the same amount that is "missing".

In other words, situation normal, nothing to worry about.
A crucible of informative mistakes
olive_wide
Frequent Advisor

Re: Why the memory can not be released.

John,
Thank you.
olive_wide
Frequent Advisor

Re: Why the memory can not be released.

I have found a solution to this question as seen in the comments below.