Re: cc1plus: out of memory error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Dmitri Fedorov <dmitrif.xandros@xxxxxxxxx> writes:

> I'm compiling a 45M cpp file generated by gsoap on Debian lenny that's
> running as a virtual machine on the VMware workstation and g++ is
> quitting on me.
>
> First it was "virtual memory exhausted: Cannot allocate memory" error,
> after that I set a limit on virtual memory and now I get "cc1plus: out
> of memory".
>
> Could anybody give me hint what direction to dig? Compiler options?
> Virtual memory size?
>
> Of course I cannot change the cpp file, and this is gcc 4.3.

If you can't change the C++ file, then your only real choices are to
compile without optimization, or to add more swap space.

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux