Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2011 12:01:54 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Paul Chany <csanyipal@stcable.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: swap_pager: out of swap space, swap_pager_getswapspace(16): failed
Message-ID:  <585773A3-0638-4210-94D2-57A3018900AA@mac.com>
In-Reply-To: <4D9A1464.7060605@stcable.net>
References:  <4D9A1464.7060605@stcable.net>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Apr 4, 2011, at 11:56 AM, Paul Chany wrote:
> swap_pager: out of swap space
> swap_pager_getswapspace(16): failed
> ..
> c++: Internal error: Killed: 9 (program cc1plus)
> ..
> ..
> *** Error code 1
> 
> What can I do to solve this problem

Your system ran out of VM.  Add more RAM, or add more swapspace, or consider "top -o size" and kill off anything huge.  Also, compiling with -O0 or -O instead of the default -O2 will reduce the size of the compiler process significantly.

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?585773A3-0638-4210-94D2-57A3018900AA>