* Not enough memory?
@ 1998-09-24 4:00 Thomas Kuhn
1998-09-30 4:00 ` Daniel Barker
0 siblings, 1 reply; 2+ messages in thread
From: Thomas Kuhn @ 1998-09-24 4:00 UTC (permalink / raw)
When I start up my Alpha, everything seems to be normal (~ 20 MB are
used) - when I then compile large packages (e.g. KDE), free memory goes
down to 2-8 MB. What makes me really wondering is that after compiling I
have not got much more free mem than during the compilation process. Is
that normal? Is this perhaps a cause of the installation of RedHat 5.1
or do I just have not enough ram (128 MB are installed, which should be,
shouldn't it?).
Thanks in advance
Thomas
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Not enough memory?
1998-09-24 4:00 Not enough memory? Thomas Kuhn
@ 1998-09-30 4:00 ` Daniel Barker
0 siblings, 0 replies; 2+ messages in thread
From: Daniel Barker @ 1998-09-30 4:00 UTC (permalink / raw)
To: Thomas Kuhn
On Thu, 24 Sep 1998, Thomas Kuhn wrote:
> When I start up my Alpha, everything seems to be normal (~ 20 MB are
> used) - when I then compile large packages (e.g. KDE), free memory goes
> down to 2-8 MB. What makes me really wondering is that after compiling I
> have not got much more free mem than during the compilation process. Is
> that normal? Is this perhaps a cause of the installation of RedHat 5.1
> or do I just have not enough ram (128 MB are installed, which should be,
> shouldn't it?).
Just one thing to check before worrying.
Sometimes unused memory is left for buffers and cache, and doesn't always
SEEM free. e.g.,
% free
total used free shared buffers cached
Mem: 78284 60816 17468 14324 12292 36372
-/+ buffers/cache: 12152 66132
Swap: 50956 0 50956
As I understand it, memory "really" free is 66132 K rather than 17468 K,
and memory "really" used is 12152 K. The system can quickly reclaim memory
from buffers and cache if necessary. It's just left allocated as buffers
and cache because this might be useful.
The relative amounts recorded as "free", "buffers" and "cache" move in
mysterious ways. This doesn't seem to matter.
When the amount of swap space used is more than 0, then RAM really has
been used up at some stage since the last re-boot. The "swap used" figure
seems to only decrease gradually after this, until the next re-boot. So it
does not necessarily mean RAM is in short supply NOW. Look at the command
"vmstat" to see what's happening at any time.
This is from a SPARC with 80M of RAM. But I think similar applies to all
Linux systems.
Daniel Barker,
Institute of Cell and Molecular Biology,
Swann Building,
King's Buildings,
Mayfield Road,
Edinburgh
EH9 3JR
UK
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-09-30 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-24 4:00 Not enough memory? Thomas Kuhn
1998-09-30 4:00 ` Daniel Barker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox