This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
RE: maximum memory for gcj-compiled executable?
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Erik Poupaert <erik dot poupaert at chello dot be>
- Cc: GCJ Java <java at gcc dot gnu dot org>
- Date: Mon, 24 Mar 2003 11:00:51 -0500 (EST)
- Subject: 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