n

Archive

Event Cache

Since Novemberborn doesn't have a feed yet... Event Cache.

Comments

  1. trs wrote:

    “has a fault in its garbage”

    Jim always had a way with words.

    No it’s not a fault. As if MSFT would ship something like MSIE without understanding how COM worked. The ignorance is laughable.

    I commented on Aarons blog. These are not JScript owned objects in some scenarios they can not be GC’d.

    February 23, 2005 @ 1:17 am. Type: Comment. Permalink.

  2. trs wrote:

    Another point is the use of your script.

    When the page changes domain (or possibly just URL) the memory is freed anyway you are only accounting for people constantly refreshing and not navigating.

    Why bother?

    And another point is that I have made very big DHTML applications that leak pretty badly but they have been running for years without too much problem i.e. it’s generally not worth worrying about anyway. Who cares if IE is using 100megs of memory (and that’s worst case).

    February 23, 2005 @ 1:21 am. Type: Comment. Permalink.

  3. Mark Wubben wrote:

    Tim, as far as I know the memory isn’t cleaned while the browser is still open.

    February 23, 2005 @ 2:17 pm. Type: Comment. Permalink.

  4. trs wrote:

    Well it’s been a while but I’m quite sure it is cleared on change of url or domain. I’ll fire up an app @ work tomorrow and look.

    Erik Lippert made some reference to this somewhere.

    February 23, 2005 @ 7:44 pm. Type: Comment. Permalink.

  5. trs wrote:

    Not sure if you got my e-mail. Boodman sent me a mail saying that the memory is never cleared even after closing the window.

    MSFT released a patch that purported to fix the memory “leak” issue (i.e. circ. refs to non JScript owned objects) back in ~Aug 2002 and this produced the behaviour I am describing. Apparently it broke many pages and they retracted it. This explains the current problems.

    I haven’t worked with hardcore DHTML since end-2002 so I missed the MSFT patch retraction. My mistake was making the assumption IE6 would behave the same now.

    I have some quotes and shit to back this up will post on my blog tomorrow.

    February 26, 2005 @ 12:56 am. Type: Comment. Permalink.

Leave a Comment

Due to some recent spam, and because this site is no longer active I've decided to disable comments side-wide. You can always mail me if you have questions. Thanks!


Navigate


Colophon

Hey! I'd like you to know that this site will be gone soon. Problems with this site (which never was intented as a final release, but has been active for some months already now) will not be solved, sorry for any inconvenience.

The future address of the new site will be http://novemberborn.net/

Summary

Event Cache provides a way for automagically removing events from nodes and thus preventing memory leakage.

Context


Misc.

Copyright 2003 - 2004 Mark Wubben. This website is licensed under a Creative Commons License. Powered by WordPress