This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: memory exhausted
- To: michael_cardenas at deneba dot com
- Subject: Re: memory exhausted
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 17 Feb 2000 23:41:34 +0100
- CC: gcc at gcc dot gnu dot org
- References: <l03130300b4d1f40d0f37@[192.168.10.100]>
> Often, when trying to link my application, I get an error that memory is
> exhausted and the link failed. I have 256mb of ram and the resulting
> executale after a successful compile is 60mb. Even if I quit all other
> applications, I get the same error. The only thing I can do is to logout
> and login again.
>
> Does this sound like a bug to you?
It may be a bug, but not necessarily in the compiler. When linking
runs out of memory, it is most likely the linker that fails, which is
not part of gcc (instead, gcc assumes it is already there and invokes
it).
Unfortunately, you did not say what operating system you use, so it is
hard to guess what the problem is.
> Also, should my link of my 60mb application really take 5-7minutes?
> I does, every time. This is extremely poor.
Again, complain to whoever provided you with the linker. However, if
it is short of memory, it may suffering from thrashing into swap
space. Maybe you need to complain to the OS vendor then, as well :-)
Regards,
Martin