This is the mail archive of the kawa@sources.redhat.com mailing list for the Kawa 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: OutOfMemoryError


Per writes:
> Is JAVAOPT a standard convention, or specific to SISC?

It's not standard to Java, but it's not unusual to see it in some
programs either.

For example, the SISC startup script has this line in it:

    java $JAVAOPT -classpath ...

Sven writes:
> In SISC, one of them grows during successful execution of my program
> to 800MB; while Kawa stops with the error at 100MB (even with export
> JAVAOPT=-Xmx896m).

As Per said, try:

    java -Xmx896m -cp kawa.jar kawa.repl

Regards,
Chris Dean

Per Bothner <per@bothner.com> wrote:
> Sven Hartrumpf wrote:
> 
> > Yes, how can I invoke kawa with the java command?
> > (My kawa is configured with --enable-kawa-frontend.)
> 
> Either:
> java -jar kawa.jar
> or
> java -cp kawa.jar kawa.repl
> 
> It shouldn't be difficult to modify kawa.c to pass $JAVAOPT
> to java.  
> -- 
> 	--Per Bothner
> per@bothner.com   http://per.bothner.com/


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