>I am aware of ways of increaseing the memory in java, but not in
>appletviewer.
from the tool docs for appletviewer (Solaris version):
-J javaoption
Passes through the string javaoption as a single argument to the Java
interpreter which runs the appletviewer. The argument should not
contain spaces. Multiple argument words must all begin with the
prefix -J, which is stripped. This is useful for adjusting the
compiler's execution environment or memory usage.
Admitedly someone at sun had a cut and paste problem on that last part...
but the meaning remains. Most of the "executables" that come with the JDK,
javac, rmic, rmiregistry, appletviewer, jdb, etc... are just quick & dirty
c wrappers for using the invocation API to run a class; this option can
be used to control the options for that VM. The class for appletviewer is
sun.applet.AppletViewer, so to run the viewer with a max 64 meg heap:
java -mx64m sun.applet.AppletViewer http://www.yada.yada/applet.html
OR
appletviewer -J-mx64m http://www.yada.yada/applet.html
-=Chris
cabbey at home dot net <*> http://members.home.net/cabbey
I want a binary interface to the brain!
Today's opto-mechanical digital interfaces are just too slow!
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]