Results 1 to 4 of 4

Thread: How to free up RAM

  1. #1
    Junior Member registered user
    Join Date
    Jun 2006
    Posts
    17

    How to free up RAM

    I have 1 GB of RAM and still not enough. After 2 hours of using Knoppix, I launch the performance viewer and I see that I have only a few MB of memory left. Does anyone know a command that frees up some RAM?
    I use knoppix to learn Linux commands. Usually I make an apt-get update, launch Gaim and XMMS.

  2. #2
    Senior Member registered user
    Join Date
    Feb 2005
    Posts
    228
    What's the output of
    Code:
    infobash -v2
    ?
    Kicker --> System --> Infocenter --> Memory for more details.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2004
    Posts
    1,516
    just one thing, linux does not free used memory, not until a unused are is needed again that is. so it might read 98% used but not actually mean that 98 is sed, perhaps 90% of that is just not freed yet.
    does your computer work slowly?

  4. #4
    Senior Member registered user
    Join Date
    Sep 2005
    Posts
    205

    Re: How to free up RAM

    Quote Originally Posted by csodabogar
    I have 1 GB of RAM and still not enough. After 2 hours of using Knoppix, I launch the performance viewer and I see that I have only a few MB of memory left. Does anyone know a command that frees up some RAM?
    I use knoppix to learn Linux commands. Usually I make an apt-get update, launch Gaim and XMMS.
    I think you need to learn a bit about how Linux uses memory.

    When applications won't be needing all the memory, Linux likes to use that unneeded memory for e.g. by caching files read from the harddrive, so that next time those files are used they can be read from the cache. But if an application needs more memory, Linux will immediately remove some files from the cache and give that memory to the application.

    So before thinking about freeing some memory, you need to check if some of the memory is being used for caching files. If yes, then you don't need any command to free memory, because the memory used for caching will be freed automatically when needed.

    Now start a console and run a command free which will tell how much memory is being used at the moment:
    Code:
    knoppix@0[knoppix]$ free
                 total       used       free     shared    buffers     cached
    Mem:        287504     283632       3872          0       6916      75964
    -/+ buffers/cache:     200752      86752
    Swap:      2028740      10884    2017856
    In this example, Linux is using 283632 kB (99%) of the memory. But 6916 kB + 75964 kB (29%) is used by "buffers" and "cached", and that memory is available to applications whenever they need it.

    So even through I have "only" 3872 kB (1%) free memory, in practise the amount available to applications is 86752 kB (30%).

    Usually, when you want to know how much "free memory" there is in Linux, you'll want to ignore the memory used by buffers and file-cache like I have done in this example.

Similar Threads

  1. My HDD doesn't have enough free space.
    By pluto in forum Customising & Remastering
    Replies: 0
    Last Post: 07-30-2006, 01:09 PM
  2. Get a Free Knoppix 3.4 CD...
    By zentu in forum The Lounge
    Replies: 0
    Last Post: 03-14-2004, 11:22 PM
  3. Free Knoppix CD
    By nabetse in forum General Support
    Replies: 0
    Last Post: 03-04-2004, 07:08 PM
  4. qt-x11-free dpkg apt-get
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 0
    Last Post: 01-14-2004, 08:37 PM
  5. qt-x11-free
    By jackren in forum Hdd Install / Debian / Apt
    Replies: 4
    Last Post: 12-28-2003, 04:47 PM

Posting Permissions

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


Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS picture

Intel Xeon E5-2699 V4 2.20GHz 55M 22-CORES LGA2011-3 Server Processor 145W SR2JS

$84.49



NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11 picture

NEW HP Z4 G4 Workstation Xeon W-2123 16GB ECC 256GB NVMe NVIDIA T400 750W Win11

$400.00



Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram  2x 550W PSU No HDD picture

Dell EMC PowerEdge R440 Xeon silver 4215 2.5GHz 16 GB ram 2x 550W PSU No HDD

$275.00



Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS picture

Dell Precision T5820 950W Workstation 4.00GHz W-2125 No RAM/ GPU/ HDD/ OS

$144.98



Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W picture

Intel Xeon Gold 6230 2.1 GHz Processor - SRF8W

$29.00



Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS picture

Lenovo ThinkStation P520 Intel Xeon W-2123 3.6GHz 900W - NO RAM/ GPU/ HDD/ OS

$189.98



DELL PRECISION 5820 TOWER | INTEL XEON W-2235 3.80GHZ | 512GB | 16GB | NO OS picture

DELL PRECISION 5820 TOWER | INTEL XEON W-2235 3.80GHZ | 512GB | 16GB | NO OS

$299.99



Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW picture

Matched Pair _ Intel Xeon E5-2698 V4 2.2GHz 20-Core Processor CPU LGA2011 SR2JW

$94.99



Intel Xeon Gold 6230R SRGZA 2.10GHz 35.75MB 26-Core LGA3647 Server CPU Processor picture

Intel Xeon Gold 6230R SRGZA 2.10GHz 35.75MB 26-Core LGA3647 Server CPU Processor

$138.00



Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core picture

Intel Xeon Processor E5-2687W V4 SR2NA 3.00GHz Broadwell 160W LGA2011 12-Core

$36.00