title: jquery script is using to much memory
body: <p>I have the code below on a social network site, it loads a file that shows users new notification messages if they exist.</p>
  
  <p>Problem is when I leave the page open for a while, it eventually consumes too much memory on my PC and starts to make firefox non-responsive and throws an error message saying that memory is getting low and asking if I should abort the script or something along those line.</p>
  
  <p>Is there a way to do what I have it doing but without using up so much memory over time?</p>
  
  <pre><code>&lt;script type='text/javascript'&gt; 
  $(document).ready(function(){ 
       var updatenotification = function(){ 
            $('#notificationcontainer') 
                 .load('http://localhost/member/beta_new/notifications.inc.php') 
                 .fadeIn("slow"); 
       }; 
       var auto_refresh = setInterval(function(){updatenotification();}, 60000); 
       updatenotification(); 
  }); 
  &lt;/script&gt;
  </code></pre>