Gcc Error
Bernd Walter
ticso at cicely12.cicely.de
Thu Mar 27 07:11:20 PDT 2008
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 at one2net.co.ug<dokalanyi at gmail.com>>
> 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 at bwct.de info at bwct.de support at fizon.de
More information about the freebsd-current
mailing list