1 Oct 06:34
date.js cause memory leak
Julian Tree <julian.tree <at> gmail.com>
2008-10-01 04:34:05 GMT
2008-10-01 04:34:05 GMT
Hi,
I have included the following lib http://www.datejs.com
It works great, except for when I change some code and reload a web page, then Rhino or Helma instance just keeps on running until it times out. It takes up 180% cpu on my MacBook. The code runs fine as long as I don't change thing, but as you guys can see this will not work.
Is this a bug in Rhino, Helma or something to do with date.js. I know that that lib is stil in alpha and it is mostly for clientside, but one thing I like about helma is that I will be able to use clientside js lib on serverside as well. Please let me know if there are any work around. Thanks.
Julian
I have included the following lib http://www.datejs.com
It works great, except for when I change some code and reload a web page, then Rhino or Helma instance just keeps on running until it times out. It takes up 180% cpu on my MacBook. The code runs fine as long as I don't change thing, but as you guys can see this will not work.
Is this a bug in Rhino, Helma or something to do with date.js. I know that that lib is stil in alpha and it is mostly for clientside, but one thing I like about helma is that I will be able to use clientside js lib on serverside as well. Please let me know if there are any work around. Thanks.
Julian
_______________________________________________ Helma-user mailing list Helma-user <at> helma.org http://helma.org/mailman/listinfo/helma-user
So I'm cross-posting my answer to the new list.
RSS Feed