Mem Leak detector?

Discussion in 'General Web Coding' started by Frater L.V.X., Aug 15, 2003.

  1. Does anyone has a link or 2 to share on programs that can scan thru a .js file for memory leak issues?

    It appears that a hefty 100kb++ .js file i am using which is mostly written with function calls are undoubtedly getting bloated whenever it is called in IE. It will just keep building up with each and every session even though it is cached until the machine slows to a crawl.

    Closing the browser and starting it up again returns / releases mem usage when i observed it in Windows Task Manager, but it might not a be a long term solution.

    Any help would be appreciated.
  2. StPatrick

    StPatrick Perch

    Hmm, I'm not sure you can find one. No "delete" function in JS, so usually just set every created object to "null", everything else, should be deallocated automatically. Maybe the problem not in your script?
  3. StPatrick

    StPatrick Perch

    Well, Java and Javascript are not the same. So what is good for Java, will not work for Javascript and vise versa. You either found a bug in Javascipt engine, or have some bugs in your code. You may try VBScript instead, but it's only supported by IE (on client side)

Share This Page

JodoHost - 26,000 hosting end-users in 100 countries
Plesk Web Hosting
VPS Hosting
H-Sphere Web Hosting
Other Services