What's the output of?Code:infobash -v2
Kicker --> System --> Infocenter --> Memory for more details.
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.
What's the output of?Code:infobash -v2
Kicker --> System --> Infocenter --> Memory for more details.
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?
I think you need to learn a bit about how Linux uses memory.Originally Posted by csodabogar
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:
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.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
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.
HP Workstation Z640 2x Xeon E5-2623V3 32GB Ram 2x256GB SSD Quadro K420 NO OS GA
$154.98
Lenovo ThinkStation P920 2x Xeon Gold 6128 3.40GHZ 128GB DDR4 RAM No HDD TESTED
$504.95
Matched pair Intel Xeon E5-2667v4 SR2P5 3.20GHz, 8 core, 25MB Processors LGA2011
$62.95
HP Z440 Workstation 18Cores Xeon E5-2699 V3 128GB 1TB SSD 2TB WIFI WIN11 R5-340X
$309.99
Intel Xeon E5-2680 V4 CPU 2.4~3.3GHz 14-Core 35M LGA 2011-3 R3 Server SR2N7 120W
$15.99
Intel Xeon E5-2680 V3 2.50Ghz 12 Core 30MB Cache LGA 2011-3 CPU SR1XP Tested
$5.90
INTEL Xeon E5-2697 V4 SR2JV 2.30GHZ 18-Core CPU 2697v4 GRADE A CONDITION @ E
$39.00
Matched Pair Intel Xeon E5-2680 v2 10-Core 2.80GHz 25MB LGA2011 SR1A6
$13.99
Intel Xeon E5-2695 V4 2.10 GHz 18-Core SR2J1 LGA2011-3 CPU Processor 2695V4
$29.87
Intel Xeon E5-2698 V4 2.20GHz 50MB 20 Core 9.6GT/s 135W CPU Processor SR2JW
$84.99