memory exhausted
Martin v. Loewis
martin@loewis.home.cs.tu-berlin.de
Thu Feb 17 14:52:00 GMT 2000
> 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
More information about the Gcc
mailing list