This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: memory exhausted
- To: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Subject: Re: memory exhausted
- From: michael cardenas <michael_cardenas at deneba dot com>
- Date: Fri, 18 Feb 2000 09:44:54 -0500
- Cc: gcc at gcc dot gnu dot org
- References: <l03130300b4d1f40d0f37@[192.168.10.100]> (message from michaelcardenas on Thu, 17 Feb 2000 13:55:36 -0500)<l03130300b4d1f40d0f37@[192.168.10.100]>
I'm using redhat 6.1. The linker I'm using is ld. I thought it was part of
gcc. Is there a better linker?
>> 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