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: _Jv_SetMaximumHeapSize


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.


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