1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

What is clogging up all this RAM

Discussion in 'General Computer Discussions' started by Yellow Fang, 2 May 2016.

  1. Yellow Fang

    Yellow Fang Veteran Geek

    Location:
    Reading
    I have been struggling on with my old PC for years. It now has the LinuxLite operating system. I basically use it to access the internet, but it is very sluggish now. Recently I tried one of the projects in Raspberry Pi Geek magazine on a Raspberry Pi, but it failed on the first step, which was to update and upgrade the Raspbian operating system. Once I had done that, there was not enough RAM left to install the other software. At first I thought it was hard disk space it was running out of, which was crazy enough, but it turned out it was RAM. The Raspberry Pi has 900 MB of RAM, most of which became used up after the update and upgrade. The Raspberry Pi is just sitting there, not actually being used for anything, so what is it doing with all that RAM? I decided to look at the RAM usage on my PC, using the "free -m" command. It said my PC had 686 MB of RAM, and only 6MB was free. No wonder it keeps coming to a halt. I suppose I should order some more RAM.
     
  2. amusicsite

    amusicsite dn ʎɐʍ sᴉɥ┴ Staff Member

    Location:
    UK
    https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=45540
     
  3. Yellow Fang

    Yellow Fang Veteran Geek

    Location:
    Reading
    Just ran sudo apt-get autoclean followed by sudo apt-get autoremove on my PC and it looks like it freed up 170 MB of RAM. I might not need to have ordered some more RAM.

    Edit: then I started up the web browser and I am down to 33 MB.
     
    Last edited: 8 May 2016
  4. amusicsite

    amusicsite dn ʎɐʍ sᴉɥ┴ Staff Member

    Location:
    UK
    Most modern browsers like a few hundred MB's if they can get it. You could try other browsers or an older version that may not be such a memory hog. Alliteratively you may be able to limit the maximum memory it grabs.
     
    Yellow Fang likes this.
  5. Yellow Fang

    Yellow Fang Veteran Geek

    Location:
    Reading
    I put 2GB of RAM into the PC. YouTube does not suddenly halt, and the browser does not jam up so bad. It is still not perfect. 98% of my usage of that PC is browsing the internet. It's good for the planet, if not the economy, if we can make these devices last, considering the amount of energy that goes into making them.
     
    amusicsite likes this.