Wednesday, May 13, 2015

windows 7 - Memory - Available vs Free?




I have Windows 7, with 8 GB ram.



Currently I see:



enter image description here



I read here that:




  • Total is the amount of RAM installed on your computer, listed in megabytes (MB). (✔ ok).



  • Cached refers to the amount of physical memory used recently for system resources. (✔ ok).


  • Available is the total of standby and free memory from the Resource Monitor. (✔ ok).


  • Free is the amount of memory that is currently unused or doesn't contain useful information (unlike cached files, which do contain useful information).(? Huh).




I don't understand the last part. Does it mean that a program might have a memory size of Available+Free? (Because 'Available' is available and since Free contains unneccesary info - it can release its blocks.)



Question
Am I right? How much (according to my picture) total memory is available for a new executing program?


Answer




Free ram is ram that hasn't been allocated yet. Programs that aren't using ram keep it allocated for later because it's faster to reuse already allocated ram than free ram and reallocate it later. If a new process needs memory but the amount of free ram is low, some of the available memory will be deallocated.


No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...