title: jQuery memory leak patterns and causes
body: <p>What are some of the standard issues or coding patterns in jQuery which lead to memory leaks? </p>
  
  <hr>
  
  <p>I have seen a number of questions related to the ajax() call or jsonp or DOM removal on StackOverflow. Most of the jQuery memory leak questions are focussed on specific issues or browsers and it would be nice to have a listing of the standard memory leak patterns in jQuery. </p>
  
  <p>Here are some related questions on SO:</p>
  
  <ul>
  <li><a href="https://stackoverflow.com/questions/2450761/why-does-jquery-leak-memory-so-badly">Why does jQuery leak memory so badly?</a></li>
  <li><a href="https://stackoverflow.com/questions/2429056/simple-jquery-ajax-call-leaks-memory-in-internet-explorer">Simple jQuery Ajax call leaks memory in Internet Explorer</a></li>
  <li><a href="https://stackoverflow.com/questions/1455947/memory-leak-involving-jquery-ajax-requests">Memory leak involving jQuery Ajax requests</a></li>
  </ul>
  
  <p>Resources on the web:</p>
  
  <ul>
  <li><a href="http://answers.oreilly.com/topic/1634-how-to-attach-objects-and-data-to-dom-with-jquery-data-to-avoid-memory-leak-issues/" rel="nofollow noreferrer">How to attach objects and data to DOM with jQuery.data to avoid memory leak issues</a></li>
  <li><a href="http://www.ibm.com/developerworks/web/library/wa-memleak/" rel="nofollow noreferrer">Memory leak patterns in JavaScript</a></li>
  </ul>