Howto set the initial heap-size?
Wed Nov 3 18:33:00 GMT 2004
The collector itself should understand GC_INITIAL_HEAP_SIZE.
Other such environment variables are described in
boehm-gc/doc/README.environment, though a few
currently require configure arguments to enable.
You can get basically the same effect by calling GC_expand_hp
from startup code. This should probably be exported through
some gcj-specific Java class, but I don't know if it is.
> -----Original Message-----
> From: email@example.com
> [mailto:firstname.lastname@example.org]On Behalf Of
> Clemens Eisserer
> Sent: Tuesday, November 02, 2004 11:28 PM
> To: email@example.com
> Subject: Howto set the initial heap-size?
> 1.) I've googled since some time to find the appropriate
> enviroment variable to control the initial heap size, however
> I only found one to limit the maximum heap size.
> Is there also one available to control the initial heap size?
> 2.) Is there a way to fix initial-heap-size at compile time?
> Thx in advance, lg Clemens
> Mit WEB.DE FreePhone mit hoechster Qualitaet ab 0 Ct./Min.
> weltweit telefonieren! http://freephone.web.de/?mc=021201
More information about the Java