RAM problem on Ubuntu.

sayeedhossain

New Member
Credits
19
I have in total 4 gb + 4gb = 8 gb RAM in my machine. The problem is that, when i wanna to check the free RAM then I think there are some problem . Because you can see in the following image , total is 7.2 Gi and used is 4.2 Gi but free is only 131 Mi . But you know the free RAM should be (7.2-4.2)=3 Gi. Please tell me anyone what actually the problem .
Screenshot from 2021-01-30 09-55-12.png
 


captain-sensible

Well-Known Member
Credits
10,352
what is the output of :

Code:
sudo free -tm
eg on my system :

Code:
bash-5.0# free -tm
                     total        used        free      shared  buff/cache   available
Mem:           3881        1343        1079          47        1459        2072
Swap:          2981           0        2981
Total:           6863        1343        4061
bash-5.0#
total = 6863

used 1343
+ free 4061

+ put aside for cache 1459
----------------------
6863

----------------------------
 

sayeedhossain

New Member
Credits
19
what is the output of :

Code:
sudo free -tm
eg on my system :

Code:
bash-5.0# free -tm
                     total        used        free      shared  buff/cache   available
Mem:           3881        1343        1079          47        1459        2072
Swap:          2981           0        2981
Total:           6863        1343        4061
bash-5.0#
total = 6863

used 1343
+ free 4061

+ put aside for cache 1459
----------------------
6863

----------------------------
Thanks. Now I properly understand. Actually I didn't calculate buff/cache memory . That's why the problem was raised.Thanks a lot.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Staff online


Top