_Jv_SetMaximumHeapSize
Jeff Sturm
jsturm@one-point.com
Sun Sep 21 16:55:00 GMT 2003
On 2003年9月21日, Erik Poupaert wrote:
> What we have today, is no support -- or so to speak -- for invoking
> _Jv_SetMaximumHeapSize() when starting a native executable; except for the option in
> which you bypass jvgenmain and supply your own main() function; but that's rather a
> workaround than real support.
Or the environment variable, GC_MAXIMUM_HEAP_SIZE.
(There was once a PR to add -ms/-mx to jvgenmain, it was eventually
closed. I tend to agree that the decision to limit heap size is better
left to the user of a program than to whomever is choosing compiler
flags.)
Jeff
More information about the Java
mailing list