swap_pager: out of swap space, swap_pager_getswapspace(16): failed

Chuck Swiger cswiger at mac.com
Mon Apr 4 19:02:02 UTC 2011


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



More information about the freebsd-questions mailing list