_Jv_SetMaximumHeapSize

Andrew Haley aph@redhat.com
Sun Sep 21 12:22:00 GMT 2003


Erik Poupaert writes:
 > 
 > >  > void
 > >  > _Jv_SetMaximumHeapSize (const char *arg)
 > 
 > > Why not?  Look at gij.cc:120.
 > 
 > That's the interpreter ... What about native executables?

Oh, I see what you'rew saying.  Well, you'd do it in the same way by
calling _Jv_SetMaximumHeapSize() before JvRunMain().  Either that or
start your application with gij.

gcj Hello.java -shared -fpic -o Hello.so
gij Hello -mx=128

Andrew.



More information about the Java mailing list