Rolf and others -- I've checked in some refactoring of Viewer,
FileManager, and the adapters as well as some additional code for
handling of OOME conditions. Please check it out.
I had quite a bit of luck, but wasn't 100% successful in surviving OOM
errors with the applet. After several successful recoveries the applet
finally just disappeared.

Please try crashing Jmol, Java, or a browser via an Out of Memory
condition by loading massive files or requesting too many unit cells.

http://chemapps.stolaf.edu/jmol/docs/examples-11/new.htm

has some tests.

Also, check this out:

http://www.roseindia.net/javatutorials/OutOfMemoryError_Warning_System.shtml

and

http://java.sun.com/j2se/1.5.0/docs/api/java/lang/management/MemoryMXBean.html

Maybe someone wants to test some of that out and get back to us.

Bob


Bob


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to