[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/12658] ld: potential infinite loop and memory leaks when l

From: dongsheng.song at gmail dot com
Subject: [Bug binutils/12658] ld: potential infinite loop and memory leaks when link many object files
Date: Mon, 11 Apr 2011 13:21:40 +0000


--- Comment #3 from Dongsheng Song <dongsheng.song at gmail dot com> 2011-04-11 
13:21:36 UTC ---
(In reply to comment #2)
> Hi Dongsheng,
>   Have you tried linking with the --reduce-memory-overheads option specified ?
>   It is entirely possible that there are memory leaks in the linker, but
> without a lot of analysis it is hard to say where they might be.
>   It does sound as though you are producing a really big DLL, so maybe it is
> just a case that you need lots of memory to perform the link.  Have you tried
> using earlier versions of the linker to see if this problem is something that
> has only recently been introduced ?
> Cheers
>   Nick

When I use '-Wl,--no-keep-memory,--reduce-memory-overheads', only reduce about
200MB memory usage.

I'm not very care about the memory usage, I'm more concern the infinite loop
during link because it blocked from generate the final .DLL file.

*) 25 minutes
Cpu(s): 16.2%us,  8.0%sy,  0.0%ni, 75.0%id,  0.0%wa,  0.0%hi,  0.7%si,  0.0%st
Mem:   3095296k total,  3073056k used,    22240k free,       32k buffers
Swap:  7811064k total,        0k used,  7811064k free,   321800k cached

 1159 dongshen  20   0 2627m 2.6g  896 R  104 86.7  25:35.69 ld

Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]