--- Begin Message ---
Subject: |
Re: Out of memory compilation |
Date: |
Thu, 28 Jun 2007 10:04:18 -0000 |
User-agent: |
G2/1.0 |
Bernd Strieder <address@hidden> wrote:
> Hello,
>
> Akanksha wrote:
> > I have a little problem here.. I am using g++ to compile a huge code
> > of about 200,000 lines and the compilation gives me the following
> > error
>
> Try reducing the optimization level or splitting up the file. The file
> in question is extraordinarily large. Optimization can take huge
> amounts of RAM, especially for large functions.
I split the code into chunks.. Most of them seem to work fine except
one huge 50,000 line function which gave a g++ internal error. I was
able to compile the function by reducing its size to half. Though I am
not convinced that g++ cannot handle a 50,000 line function. The
function just has a series of function calls from the ILOG library.
--- End Message ---
--- Begin Message ---
Subject: |
confirm a8f68e1a819fa04c869e3f128ce7a1f5ce509ff8 |
If you reply to this message, keeping the Subject: header intact,
Mailman will discard the held message. Do this if the message is
spam. If you reply to this message and include an Approved: header
with the list password in it, the message will be approved for posting
to the list. The Approved: header can also appear in the first line
of the body of the reply.
--- End Message ---