[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12682] [PATCH] high memory usage when linking many small object
From: |
nickc at redhat dot com |
Subject: |
[Bug ld/12682] [PATCH] high memory usage when linking many small object files. |
Date: |
Fri, 3 Jun 2011 16:19:47 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12682
Nick Clifton <nickc at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |nickc at redhat dot com
Resolution| |FIXED
--- Comment #2 from Nick Clifton <nickc at redhat dot com> 2011-06-03 16:19:40
UTC ---
Hi Bertram,
Thanks for reporting this problem. I have applied the second half of your
patch - adding more small prime values to the arrays in hash.c. But there is
no need for the first part of the patch (changing the value of DEFAULT_SIZE).
You can do this from the linker command line. vis:
--hash-size=31
You might also wish to consider adding the --reduce-memory-overheads option to
the linker command line as well.
Cheers
Nick
--
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.