Bob Hanson wrote: > Jmol Developers, > > I made some changes to the JavaScript/Java interface and may be onto > something. I am no longer seeing any wild fluctuation in memory > whatsoever at the URL below. Loading reasonably large files seems to > result in only minimal memory increases. Please take a look and answer > a few questions for me:
Test environment: SuSE Linux 9.3 Firefox 1.0.7 Java 1.4.2_11 > > a) does http://fusion.stolaf.edu/chemistry/jmol/xtalx load OK for you? It looks ok. > > b) does the "waiting for applet" title message disappear within a few > seconds? (You may not even see it.) It takes about 2 minutes to disappear. (although the applet is loaded much earlier) > > c) do the radio buttons work? At least most of them do result in a visible change in the applet and the changes seem to correspond to the button descriptions. > > d) press LOAD. Everything seem to be OK? Yes. > > e) load the "maleic.cif (18 models)" file. Still working? Sometimes working, sometimes the browser freezes. > > f) at this point, if you know how, can you report how much memory the > browser is using? VIRT: 317m RES: 133m SHR: 28m (no change during testing) > > g) can you load a CIF file -- perhaps 1crn? [This uses an http:// > server call within the applet.] 1crn is loaded but all three other PDB codes I tried (1deh, 3cro, 1a2c) produced an error. (ERROR MESSAGE: jmolApplet0: script ERROR: ScriptException:Could not read file:java.lang.NullPointerException Script line:load "http://fusion.stolaf.edu/chemistry/jmol/xtalx/loaddatajs.cfm?app=0&url=http%3A//www.rcsb.org/pdb/displayFile.do%3FfileFormat%3DCIF%26structureId%3D3CRO&pdbid=3CRO&fileformat=CIF" {1,1,1};;set perspectivedepth off;set defaultLattice 0;color axes grey;color unitcell white;set unitcell 3;;set unitcell 0;) > > h) can you load an "AMS (mineral)" crystal file -- perhaps quartz? > [This uses a dynamic DOM script node to preload HTML data and then > pass that on to the applet using applet.loadInline().] Something is loaded and displayed but the browser always freezes afterwards. > > i) can you get your browser to lock up during any of this? > Besides the freezes described above the browser sometimes freezes if the 'show orientation' link is used. Regards, Rolf ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Jmol-developers mailing list Jmol-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-developers