I've confirmed the out-of-memory issue.  Adding "-Xm256M" into my Java
control panel (found this info on the Jmol wiki:
http://wiki.jmol.org/index.php/Jmol_Applet) seems to eliminate the
problem....

BTW, does anyone know how to achieve this for a browser running on linux?

Cheers,
Tom



On Wed, Aug 20, 2008 at 1:00 PM, Thomas Stout <[EMAIL PROTECTED]>wrote:

>
> Yes, the display fails just on re-sizing the window (no model
> manipulation).  Without re-sizing the window, one can manipulate the model
> and do anything one wishes with Jmol with complete stability.
>
> Curiously, the popup window is more resistant to this blanking effect using
> MS IExplorer than with Firefox (3.0.1).  Attempting IEtabs in Firefox
> completely locks up Firefox and is a "Bad Thing"!   I was able to get the
> blanking to occur on about the 4th ot 5th re-sizing (of the same popup
> window) and it did throw a Java exception that looks like an our of memory
> issue:
>
> Exception in thread "AWT-EventQueue-3" java.lang.OutOfMemoryError: Java
> heap space
>  at org.jmol.g3d.Platform3D.allocateTBuffers(Platform3D.java:89)
>  at org.jmol.g3d.Graphics3D.setPass2(Graphics3D.java:371)
>  at org.jmol.viewer.Viewer.render(Viewer.java:3204)
>  at org.jmol.viewer.Viewer.getImage(Viewer.java:3194)
>  at org.jmol.viewer.Viewer.renderScreenImage(Viewer.java:3180)
>  at org.jmol.applet.Jmol.update(Jmol.java:562)
>  at org.jmol.applet.Jmol.paint(Jmol.java:528)
>  at org.jmol.appletwrapper.AppletWrapper.paint(AppletWrapper.java:178)
>  at sun.awt.RepaintArea.paintComponent(Unknown Source)
>  at sun.awt.RepaintArea.paint(Unknown Source)
>  at sun.awt.windows.WComponentPeer.handleEvent(Unknown Source)
>  at java.awt.Component.dispatchEventImpl(Unknown Source)
>  at java.awt.Container.dispatchEventImpl(Unknown Source)
>  at java.awt.Component.dispatchEvent(Unknown Source)
>  at java.awt.EventQueue.dispatchEvent(Unknown Source)
>  at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>  at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
>  at java.awt.EventDispatchThread.run(Unknown Source)
>
>
> I see this behavior on both both WinXP and linux (CentOS) and both a pretty
> hefty machines (graphics and RAM-wise)....
>
> -Tom
>
>
>
> On 8/20/08, Robert Hanson <[EMAIL PROTECTED]> wrote:
>>
>> ever? even if you don't manipulate the model? Please check for Java
>> console errors.
>>
>>  On Wed, Aug 20, 2008 at 12:29 PM, Thomas Stout <[EMAIL PROTECTED]>wrote:
>>
>>>
>>> It's odd that the question about syncing with pop-up applet windows came
>>> up today just as I noticed the following:
>>>
>>> with the applet (version 11.6RC7) creating pop-up windows with the
>>> contents of an applet in a web page works just fine, but when re-sizing that
>>> pop-up window, the structure "disappears" and does not refresh.
>>>
>>> I'm using JmolPopup.htm (attached).
>>>
>>> Does this occur for anyone else too, or is it just my implementation?
>>>
>>> Thanks,
>>> Tom
>>>
>>>
>>>
>>>
>>> -------------------------------------------------------------------------
>>> 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
>>>
>>>
>>
>>
>> --
>> Robert M. Hanson
>> Professor of Chemistry
>> St. Olaf College
>> Northfield, MN
>> http://www.stolaf.edu/people/hansonr
>>
>>
>> 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-users mailing list
>> Jmol-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/jmol-users
>>
>>
>
-------------------------------------------------------------------------
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