Skip to contentSkip to conversation

cpp: memory exhausted

DISCUSSION Matthew Studley 2 participants 3 messages Nov 25, 2003

lore
Share & tools
lore
#0 lore raw

Hi all

I am compiling some code using gcc. I have compiled the same code before, on the same platform, with the same compiler, on the same ... nothing's changed!

But now I get the message:

cpp: memory exhausted

I have rebooted, physically switched off and on - still the same problem!

help!

please?

Matt
==============================================
Matthew Studley

Intelligent Autonomous Systems Laboratory

Faculty of Computing, Engineering
and Mathematical Sciences
Coldharbour Lane, Frenchay
BS16 1QY
United Kingdom

tel : 07092 306548
fax : 07092 306548

#1 lore raw

Re: memory exhausted

Well I clearly have a brain like a seive - I now remember that I've had this problem before. To solve it I deleted all object files and recompiled the entire application. No problem. Your guesses why this happens would be very interesting!

regards

matt
<phew> panic over!

----- Original Message -----
From: Matthew Studley <[email protected]>
To: <[email protected]>
Sent: Tuesday, November 25, 2003 2:51 PM
Subject: cpp: memory exhausted

Quoted 28 lines

Hi all

I am compiling some code using gcc. I have compiled the same code before, on the same platform, with the same compiler, on the same ... nothing's changed!

But now I get the message:

cpp: memory exhausted

I have rebooted, physically switched off and on - still the same problem!

help!

please?

Matt
==============================================
Matthew Studley

Intelligent Autonomous Systems Laboratory

Faculty of Computing, Engineering
and Mathematical Sciences
Coldharbour Lane, Frenchay
BS16 1QY
United Kingdom

Quoted 8 lines

tel : 07092 306548
fax : 07092 306548

-
To unsubscribe from this list: send the line "unsubscribe

linux-c-programming" in

Quoted 5 lines

the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

This incoming email to UWE has been independently scanned for viruses and

any virus detected has been removed using McAfee anti-virus software

Quoted 3 lines
#2 lore raw
In reply to Matthew Studley

Hi

Check the ulimit -Sa (Soft) values with the values from ulimit -Ha (Hardvalues) and increment the -v value for virtual memory usage. I think there´s the problem. Maybe you should add more swap space.

Quoted 5 lines

But now I get the message:

cpp: memory exhausted

I have rebooted, physically switched off and on - still the same problem!

Signature · 11 lines
Tom

LINUX user since kernel 0.99.x 1994.
RPM Alpha packages at http://alpha.steudten.com/packages
Want to know what S.u.S.E 1995 cdrom-set contains?


-
To unsubscribe from this list: send the line "unsubscribe linux-c-programming" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html