Thomas Stout wrote:
> Thanks Angel --
> 
> Yes, it definitely turned out to be a memory issue.  My inexperience is
> another!  I was stumped since the Jmol graphic stopped responding, but Jmol
> itself was still running and "doing stuff" -- I could still enter commands
> into the console and get appropriate responses.  Now I know that that is a
> hallmark of Java exceptions, including out-of-memory errors.
> 
> With regard to "large" windows and the memory issue, I've settled here on
> creating a pop-up window that is large enough for end-users to have a "big
> view" but which is fixed in size so that I know that it won't immediately
> eat up all of the memory.  I've given up the ability for them to re-size,
> but it seems a reasonable trade-off.

Instead of providing an automatic resize function you could provide a
manual resize option using input fields. This way you could easily set a
maximum size limit by your Javascript code that does the actual resizing.

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-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to