title: javascript memory leak
body: <p>i've just noticed that some javascript i;ve just written appears to be leaking memory, it quite a simple piece of code - thanks to jquery - but I can watch it running in taskmanager and the memory usage is slowly clicking up by between 4 and 40 bytes.</p>
  
  <p>All i'm doing is throwing some data at a asp mvc controller/action via getJSON:</p>
  
  <pre><code>$(document).ready(function () {
      var olddata = "";
      window.setInterval(function () {
          var options = JSON.stringify({
              orderby: "name"
          });
          var params = {
              options: options,
              data: olddata ? JSON.stringify(olddata) : ""
          };
          $.getJSON("/Home/GetTasks", params, function (json) {
              olddata = json;
              json = null;
          });
          params = null;
          options = null;
      }, 1000);
  });
  </code></pre>
  
  <p>I've bumped up the timer value just to see the problem more readily. I'm obviously doing something wrong here butcan't see what.</p>
  
  <p>Should I be cleaning up the getJSON call?</p>
  
  <p>TIA.</p>