Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: Ubuntu takes up alot of ram.

  1. #1
    Join Date
    May 2014
    Beans
    99

    Ubuntu takes up alot of ram.

    Hi,

    My laptop uses Ubuntu 14.04 LTS and with only having my terminal open to check my cpu status it already takes up 2500 memory and i only have 3724 max.
    How come it uses so much of my cpu?
    Last edited by philinux; May 29th, 2014 at 04:52 PM. Reason: Title

  2. #2
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu takes up alot of cpu

    Quote Originally Posted by gijs2 View Post
    Hi,

    My laptop uses Ubuntu 14.04 LTS and with only having my terminal open to check my cpu status it already takes up 2500 memory and i only have 3724 max.
    How come it uses so much of my cpu?
    Hi, what terminal command are you using to check the cpu status? From what it looks like, it is the memory being used, not the cpu.
    Ubuntu Forums Moderation Staff
    Okay then. We're relying on mirror dust and fairies but now we have a plan which is progress - Emma

  3. #3
    Join Date
    May 2014
    Beans
    99

    Re: Ubuntu takes up alot of cpu

    Quote Originally Posted by sandyd View Post
    Hi, what terminal command are you using to check the cpu status? From what it looks like, it is the memory being used, not the cpu.
    Yeah i'm sorry that's what i meant the memory.

    And i use free -m or top

  4. #4
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu takes up alot of cpu

    Ubuntu (in fact all linux systems) uses the memory for caching to improve performance of the system.

    That being said, here is the output of free -m
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          7838       3419       4418        386        121       1669
    -/+ buffers/cache:       1629       6209
    Swap:            0          0          0
    What is relavent here is the line that starts with -/+ buffers/cache

    That line shows the actual usage (with the memory used for caching excluded). When the system needs, it will remove the cached ram and use it for programs/etc

    Oh, and apparently, it seems I have no swap...
    Last edited by sandyd; May 29th, 2014 at 04:32 PM.
    Ubuntu Forums Moderation Staff
    Okay then. We're relying on mirror dust and fairies but now we have a plan which is progress - Emma

  5. #5
    Join Date
    Apr 2014
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu takes up alot of cpu

    You can also clear that cache if you feel *exclusive need* to by this command:

    Code:
    sudo sh -c "sync; echo 3 > /proc/sys/vm/drop_caches"
    Note: Like sandyd pointed out, there is no real need to get worried over it, so you are in no real need to actually do anything about it.

  6. #6
    Join Date
    May 2014
    Beans
    99

    Re: Ubuntu takes up alot of cpu

    Quote Originally Posted by sandyd View Post
    Ubuntu (in fact all linux systems) uses the memory for caching to improve performance of the system.

    That being said, here is the output of free -m
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          7838       3419       4418        386        121       1669
    -/+ buffers/cache:       1629       6209
    Swap:            0          0          0
    What is relavent here is the line that starts with -/+ buffers/cache

    That line shows the actual usage (with the memory used for caching excluded). When the system needs, it will remove the cached ram and use it for programs/etc
    Still it's a bit high for not having open that much.

    Code:
                 total       used       free     shared    buffers     cachedMem:         
                             3724       2938        786        361         71       1023
    -/+ buffers/cache:       1844       1880
    Swap:              3864        174       3690

  7. #7
    Join Date
    Nov 2013
    Location
    europe
    Beans
    29

    Re: Ubuntu takes up alot of cpu

    if you had programs open before, then close them, they stay in the RAM in case you open them again [likely]

  8. #8
    Join Date
    May 2014
    Beans
    99

    Re: Ubuntu takes up alot of cpu

    Quote Originally Posted by fkkroundabout View Post
    if you had programs open before, then close them, they stay in the RAM in case you open them again [likely]
    How can i easily see/close programs if they are not on my sidebar?

  9. #9
    Join Date
    Nov 2008
    Location
    Storybrooke
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Ubuntu takes up alot of cpu

    A useful tool to see whats using the memory is System Monitor

    Just go to the dash, search for "System Monitor"

    Click on the "Memory" heading to sort by memory usage.

    You can then see what is using the most memory (in this case, FF gobbled up a total of 818M followed by compiz gobbling up a measly 150M )
    Ubuntu Forums Moderation Staff
    Okay then. We're relying on mirror dust and fairies but now we have a plan which is progress - Emma

  10. #10
    Join Date
    May 2014
    Beans
    99

    Re: Ubuntu takes up alot of cpu

    Quote Originally Posted by sandyd View Post
    A useful tool to see whats using the memory is System Monitor

    Just go to the dash, search for "System Monitor"

    Click on the "Memory" heading to sort by memory usage.

    You can then see what is using the most memory (in this case, FF gobbled up a total of 818M followed by compiz gobbling up a measly 150M )
    Thanks but the problem now is that i dont know wich procces to end

Page 1 of 2 12 LastLast

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
  •