This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: gcc 3.3 garbage collector defaults
Andi Kleen <ak@suse.de> writes:
> On Mon, Jan 27, 2003 at 10:25:39AM -0600, Benjamin Kosnik wrote:
>> > Especially the default of ggc-min-heapsize is very low: 30K. Why this
>> > low default? Why not make it 4-8MB or better scale it with the memory
>> > size of the box?
>>
>> Can you post a patch to bump this up to 8MB? I'd like to test with it.
>
> You can just compile with --param ggc-min-heapsize=8000
>
> Otherwise change the ggc_min_heapsize declaration in gcc/params.def
In my copy of the 3.3 source tree, the ggc-min-heapsize default is
4096 (aka 4MB). Where's this 30KB value coming from?
zw