maximum memory for gcj-compiled executable?

Jeff Sturm jsturm@one-point.com
Mon Mar 24 16:00:00 GMT 2003


On Mon, 24 Mar 2003, Erik Poupaert wrote:
> libjava/prims.cc/_Jv_SetMaximumHeapSize() and _Jv_SetInitialHeapSize() would
> be interesting, but they have to be called before calling _Jv_RunMain(). Are
> they connected in one way or another to gcj compilation options?

There doesn't appear to be any compiler options.  gij does support -ms/-mx
though.

Ranjit mentioned the jvgenmain utility; you can save the generated main,
modify it by hand, and compile it into your project without using --main.

Jeff



More information about the Java mailing list