[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: out of memory building oct file
From: |
Dmitri A. Sergatskov |
Subject: |
Re: out of memory building oct file |
Date: |
Sun, 15 May 2005 11:08:18 -0600 |
User-agent: |
Mozilla Thunderbird (X11/20050322) |
Paul Probert wrote:
Folks,
I'm trying to build a moderate size (500 line) DLD into an oct file,
and mkoctfile runs a long time then bombs with "g++: Internal Error:
Killed (program cc1plus)" I am running on SUsE 8.2 with gcc 3.3, octave
2.1.63. When I watch with system monitor, I can see why its getting
killed - it slowly uses up all 256M of memory and then all of the 486 M
of swap space and then gets killed.
Does anybody have any experience with this? Can a bad c++ program do
this, or is gcc 3.3 known for having a problem like this?
It is not unheard of that gcc uses up 500+ MB. I think 3.3 was particular
memory hungry. 256MB RAM / 486 MB swap is a really, really modest system
by today's standards (I think e.g. RedHat would refuse to install on anything
less than 256M of RAM). So, while this particular case does rise some
suspicion, I would not be calling it a bug just yet. The quick test is
to add 1GB of swap file and see if it compiles with that.
Thanks,
Paul Probert
University of Wisconsin
Sincerely,
Dmitri.
--
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------