Robert Hanson wrote:
> 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.
> 
Bob, thank you for trying to solve this problem.
I tested the examples in "new.htm" and could repeat the cycle of loading
the full biomolecule (with OOME) and the asymmetric unit 5 times without
any obvious problem (Firefox 3.0.4, Java 1.4.2_18 on Linux).

When I tried to compile revision 10396 with Java 1.4.2_18 on Linux I got
the following error message:

    [javac] Jmol/src/org/jmol/viewer/FrameExportJmolAdapter.java:33:
org.jmol.viewer.FrameExportJmolAdapter is not abstract and does not
override abstract method getStructureIterator(java.lang.Object) in
org.jmol.api.JmolAdapter
    [javac] final public class FrameExportJmolAdapter extends JmolAdapter {
    [javac]              ^
    [javac] 1 error

BUILD FAILED
Jmol/build.xml:196: Compile failed; see the compiler error output for
details.
        at org.apache.tools.ant.taskdefs.Javac.compile(Javac.java:933)
        at org.apache.tools.ant.taskdefs.Javac.execute(Javac.java:757)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
        at org.apache.tools.ant.Task.perform(Task.java:364)
        at org.apache.tools.ant.Target.execute(Target.java:341)
        at org.apache.tools.ant.Target.performTasks(Target.java:369)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
        at org.apache.tools.ant.Main.runBuild(Main.java:668)
        at org.apache.tools.ant.Main.startAnt(Main.java:187)
        at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
        at org.apache.tools.ant.launch.Launcher.main(Launcher.java:67)

Loading a structure or exporting an image will be rather easy cases for
recovery after an OOME. But what about applet resizing?
Will it be possible to recover also in this case?

Regards,
Rolf

-------------------------------------------------------------------------
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