We’re trying to compile a program using c++ and we’re getting the following
error message:
cpp: virtual memory exhausted
I’ve used swapctl to increase our /.swapfile to 1GB and while the
compilation is going on I keep looking at the status of the swap and I’m
not sure that we’re actually running out swap space.
Here is the output of the last swapctl just before the compilation aborted:
swapctl
Swap stats:
swap space size: 1073737728
swap space in use: 0
number of pages swapped out: 1900544
number of pages swapped in: 0
number of pages deleted from swap: 796029813
swapctl
sh: cannot fork - try again
Any suggestions how to get this sucker compiled? (It’s ballista, the
robustness testing software)
Thanks,
Dana
–
Dana Echtner \ Real-Time Systems Administrator
dana@ece.concordia.ca / ECE, Concordia University, Montreal, Canada
rw-rw-rw-: The file protection of the beast