memory

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

memory

Roshan
Hello Erman,

on our server which is running Striim, there is 124G RAM allocated. 70G has been set for the max heap size. Why is free memory decreasing on OS while only 5.64G is being used for heap?

[striim@RB-BD-STRIM-NEW ~]$ free -m
              total        used        free      shared  buff/cache   available
Mem:     124741    14936      46681      48      63124      108996
Swap:      3967       0             3967

Regards,

Roshan
Reply | Threaded
Open this post in threaded view
|

Re: memory

Roshan
Is the free memory being used a cache to improve performance?
[root@RB-BD-STRIM-NEW striim]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa st
 2  0      0 45412308   2172 66280472    0    0    21   345   72   19 18  4 77  1  0

I noticed as free memory decreases cache memory increases.
Reply | Threaded
Open this post in threaded view
|

Re: memory

ErmanArslansOracleBlog
Administrator
The actual free memory is free + cache+ buffers, but we also know that cache and buffers are not free actually, on the other hand; they are reclaimable.

Please see -> https://ermanarslan.blogspot.com/2014/04/linux-understanding-free-command-output.html