This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

virtual memory


I'm encountering Virtual Memory exhausted error when trying to 
compile Octave 2.1.9 (on src/parse.cc) under Linux Debian.

I saw in the FAQ and in previous discussions that it was to be 
expected on occasion, but what surprises me is that cc1plus 
doesn't seem to use virtual memory. The task is supposed to take 
about 25MB which I usually don't have as free memory, but I have 
plenty of swap memory available.


Removing the optimization (-O2) solves the problem (but not 
removing -Wallm or adding  -fno-return-type or -fno-gcse).

Thanks for any pointer,

Michel

---------------------------------------------
Michel Juillard
CEPREMAP
142, rue du Chevaleret
75013 Paris

tel (33 1) 40.77.84.24
fax (33 1) 44.24.38.57
maison (33 1) 42.52.92.66
---------------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]