I have a web application which has a memory leak somewhere and I am unable to detect it. I already tried the Chrome developer tools which normally works great, but I am unable to track down the lines of code which are responsible. The Chrome tools...
My JavaSript code builds a list of LI elements. When I update the list, memory usage grows and never goes down. I tested in sIEve and it shows that the browser keeps all elements that were supposed to be deleted by $.remove() or $.empty jQuery comm...
function(foo, cb) {   var bigObject = new BigObject();   doFoo(foo, function(e) {      if (e.type === bigObject.type) {           cb();           // bigObject = null;      }   }); }   The above example shows a classic, accidental (or maybe not) memor...
I have been doing lot research on this memory leak in Google charts library. Didnt found any thing thats helping my situation. Not sure whats the updates on this one so far. I saw google chart dev team is trying to fix it and release a new updates....
The topic of memory leaks in JavaScript is not brought up often. However, I stumbled upon this article, written in 2007. The authors state:     Internet Explorer and Mozilla Firefox are the two Web browsers most   commonly associated with memory leak...
I have some code that is working, however it has a memory leak in it.   What are some good strategies for tracking memory leaks in node.js?  What steps should I follow when looking for such leaks?  How can I track the leak in my code?  Thanks...
IE11 has a well-documented iframe memory leak. In a SPA, if you are using iframes the memory will grow to about 1.5GB after which time it will slow down until a crash.  My task is to detect when the browser is about to crash and restart the page soon...
I often see in third party JavaScript code that after:  var el = document.getElementById(elementId);   object is often nulled and comment along this operation says that it is done for IE:  el = null; // IE   What's the real purpose? Any resource...
We're building a fairly large one-page-application with KnockoutJS as "data-handler".  The problem is that when changing model-data, the old models isn't disposed by the garbage collector (as it seems).  The application has about 12 d...
I wrote the following :  function ao(){ this.count=0; this.flag=0; this.tmr=0; var self = this; this.make=function(){     //log("before: "+this.url+" "+this.xhr);     self.xhr = (window.XMLHttpRequest)         ? new XMLHttpRequest() :...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.