Re: how to expand the memory when running an applet?

If you are using the Java Plug-in with your browser (assuming you're
using this through a browser), go to the "Java Plug-in Control Panel"
(on my windows machine, "Start->Console->Java PlugIn"), and in the
space for "Java Runtime Parameters" enter something like:  '-Xmx256m'
(without the ' marks).  That is supposed to do it.

If you're not using the Java Plug-in, I have no idea...


On Thu, 19 Sep 2002, Helen Yi wrote:

> Hi,
> I wrote an applet using visad tool kits. But I encounter a
> java.lang.OutofMemoryError when running the applet ?
> As you know, we could do
> java -Xmx<size>
> to set the maximum java heap size. Is there similar thing to do when
> running an applet?
> Thanks for your help.
> Helen

Tom Whittaker
University of Wisconsin-Madison
Space Science and Engineering Center
Cooperative Institute for Meteorological Satellite Studies
Telephone/VoiceMail:  608.262.2759