Results 1 to 5 of 5

Thread: RAM problem on Ubuntu.

  1. #1
    Join Date
    Jan 2021
    Beans
    3

    Unhappy RAM problem on Ubuntu.

    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 .

  2. #2
    Join Date
    Aug 2011
    Location
    52.5° N 6.4° E
    Beans
    6,822
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: RAM problem on Ubuntu.

    Counting ram use isn't straight-forward. Part of your ram is used for buffers and cache. It is not free, but available for use if some application needs it. Memory used for buffers and cache isn't reported as used by the free tool. See man free for details.

  3. #3
    Join Date
    May 2010
    Beans
    3,247

    Re: RAM problem on Ubuntu.

    What is the output of
    Code:
    free -m

  4. #4
    Join Date
    Jan 2021
    Beans
    3

    Re: RAM problem on Ubuntu.

    Thanks a lot.Now I properly understand. Actually I didn't calculate buff/cache memory . That's why the problem was raised

  5. #5
    Join Date
    Mar 2007
    Location
    Sweden
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: RAM problem on Ubuntu.

    If it shows 7.2 GB, it could be because that you have a laptop* with shared memory. Which means that you might have 8 GB in total, but X amount is reserved for the graphics chip.

    * It's most common on laptops, but I've seen SBCs doing this as well.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •