This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: maximum memory for gcj-compiled executable?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]