Jason Grout wrote:

> 
> We have Jmol 11.6.  Maybe I'll see about upgrading the spkg.  However, 
> it looks like the fundamental problem is not going away (memory usage). 
>   Gee, it'd be nice if all the jmol applets on the page could share a 
> lot of their code.  Java experts: is that possible?


It looks like a fairly recent version of Java can set it's own memory 
size from within an applet tag in the browser.  See the top of:

http://www.duckware.com/pmvr/howtoincreaseappletmemory.html

(that page also contains instructions for manually increasing the memory 
on Windows).

The specific documentation for increasing the memory size for an applet 
is here:

https://jdk6.dev.java.net/plugin2/#COMMAND_LINE_ARGS

specifically:

<APPLET archive="my_applet.jar" code="MyApplet" width="300" height="300">
     <PARAM name="java_arguments" value="-Xmx128m">
</APPLET>

Anybody interested in pursuing this?  I'm quickly getting over my head 
in java and applets.

Jason

-- 
Jason Grout


--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to