Re: Gcc Error



On Thu, Mar 27, 2008 at 10:51:24AM +0300, Okalany Daniel wrote:
On Wed, Mar 26, 2008 at 2:00 PM, Okalany Daniel
<dokalanyi@xxxxxxxxxxxxx<dokalanyi@xxxxxxxxx>>
wrote:

dmesg produces

swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(16): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(4): failed
swap_pager_getswapspace(6): failed
swap_pager_getswapspace(3): failed
swap_pager_getswapspace(16): failed
pid 14821 (cc1), uid 0, was killed: out of swap space

So its memory. I tried to install "ccache" and then included

.if !defined(NOCCACHE)
CC=/usr/local/libexec/ccache/world-cc
CXX=/usr/local/libexec/ccache/world-c++
.endif

in /etc/make.conf
Is there anyway i can solve this without buying more RAM? Im currently
using 128,40G,1.6Ghz

Since this is not some special kernel memory, which has to be in RAM,
you can also just add more swapspace.

Adding RAM, making it 384M solved my problem. Thanks

Current gcc unfortunately are more memory hungry than earlier versions,
especially if compiling C++ code.

--
B.Walter http://www.bwct.de http://www.fizon.de
bernd@xxxxxxx info@xxxxxxx support@xxxxxxxx
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: Random Restarts - Please Help
    ... I upgraded my BIOS a long time ago ... Beginners Guides: Diagnosing Bad Memory ... How to diagnose bad RAM ...
    (microsoft.public.windowsxp.help_and_support)
  • Re: Alocated Memory Error (SQLSERVR)
    ... but my understanding is that the MSDE instances are designed to ... and you don't want it grabbing all that RAM. ... running but non ever going about 200mb of memory usage. ... Server 2000 SP4, ...
    (microsoft.public.windows.server.sbs)
  • Re: help
    ... choices and found the RAM memory test option and ran it, ... second later that the DIMM RAM chip showed error after error. ... I would bet that the fan ... > inspection, and swapped suspected parts around, and got no boot ...
    (microsoft.public.windowsxp.general)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.setup)
  • Re: How to set up a Linux machine that occupies the minimum memory footprint ?
    ... Of course, if you use 8GB of RAM, or more precisely if you ... Are you saying that if I have a 4GB RAM memory, ... Linux will somehow "know" that it doesn't have ... You've said in another message that your app is ...
    (comp.os.linux.misc)