Miguel wrote:
> OK, I just looked at your source code. I have a theory as to what is
> going on. If you are interested in the details, see below*.

I forgot to post my *theory*

Konqueror is an open source web browser. That is relevant because Safari
is heavily based upon Konqueror.

They apparently have a very special way of dealing with Java Applets. I
believe that they launch an entire java virtual machine as a separate
process each time that a web page is loaded.

I know that if you have a frame with two web pages and applets in each
page, then they launch two separate JVM processes, one for each page.

What I think was going on with Philip's page is that they were launching a
separate process each time the .innerHTML property was being set. This was
causing lots of processes to accumulate on the machine. Each of these
processes was consuming more CPU and memory ... hence the gradual
slowdown.

While this is probably a Safari/Konqueror bug, I would be *very* surprised
if they would fix it. Why? Because resetting .innerHTML is probably not a
very common operation. And resetting .innterHTML with an Applet is
probably unheard of. Given that the Safari team has bigger problems to
work on, this one would probably settle to the bottom of the stack.

Philip, we will get you reloading the models in the same instance of the
applet and you will be a happy camper :-)


Miguel





-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Jmol-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to