Re: [Zope] Re: INSTALLING gcc (and ZOPE) on DEBIAN
Hello, Ok, does this error message mean that it is "just" a swap problem so that I wont have to install gcc, Python anymore? Having run "top", I could dectect that there is 10,241,428k total Swap. About 3,856,000k of it is actually being used and approximately 6,384,000k is free and about 463,000k is cached. I expect the 6,384,000k free space not to be enough - right? But what processes am I allowed to kill? Are there any processes that are absolutely neccessary? Ben Nikko Wolf <nikko-wolf@earthlink.net> schrieb am 06.10.05 17:00:38:
Jens Vagelpohl wrote:
On 6 Oct 2005, at 11:39, benmania@web.de wrote:
virtual memory exhausted: Nicht genügend Hauptspeicher verfügbar error: command 'gcc' failed with exit status 1 make *** [build] Fehler 1
Have you actually *read* the output? It tells you, quite clearly, even in German, that you don't have enough memory on that machine.
Indeed, although it's virtual memory (a.k.a. "swap space" or "swap" -- although more RAM might help) Not meaning to insult you, but see: http://de.wikipedia.org/wiki/Virtuelle_Speicherverwaltung
At the command prompt, run "top" and look at the "Swap:" line, which should show large values for "total" and "free" such as: Swap: 1959888k total, 356276k used, 1603612k free, 124196k cached
If "total" is high, but "free" is not, you can have 'ps' list the virtual memory used by each process and sort it in increasing usage with something like: ps -Ao pid,user,stime,vsize,args | sort +3n
Cheers, N
______________________________________________________________ Verschicken Sie romantische, coole und witzige Bilder per SMS! Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193
On 10/7/05, benmania@web.de <benmania@web.de> wrote:
Ok, does this error message mean that it is "just" a swap problem so that I wont have to install gcc, Python anymore? Having run "top", I could dectect that there is 10,241,428k total Swap. About 3,856,000k of it is actually being used and approximately 6,384,000k is free and about 463,000k is cached.
I seriousy doubt you are using 3 GB of swap, you probably mean 3,856K. :) Meaning that you have a total of 10MB of swap which is very little.
I expect the 6,384,000k free space not to be enough - right? But what processes am I allowed to kill? Are there any processes that are absolutely neccessary?
A good rule of thumb is to have the same amount of swap as you have internal memory. This should be somewhere between 128MB and several GB for any reasonably configured computer.
participants (2)
-
benmania@web.de -
Lennart Regebro