title: Google Chrome and (cache or memory leaks)
body: <p>I have a big problem with Google Chrome and its memory. My app is displaying to user several image charts and reloads them every 10s. </p>
  
  <p>In the interval i have code like that</p>
  
  <pre><code>var image = new Image();
  var src = 'myurl/image'+new Date().getTime();
  image.onload = function() {
      document.getElementById('myimage').src = src;
      image.onload = image.onabort = image.onerror = null;
  }
  image.src = src;
  </code></pre>
  
  <p>So i have no memory leaks in Firefox and IE.</p>
  
  <p>Here the response headers for images</p>
  
  <pre><code>Server Apache-Coyote/1.1
  Vary * 
  Cache-Control no-store (// I try no-cache, must-revalidate and so on here)
  Content-Type image/png
  Content-Length 11131
  Date Mon, 31 May 2010 14:00:28 GMT
  </code></pre>
  
  <p>Vary * taken from <a href="http://www.maintaino.com/nuts-and-bolts/2010/04/08/teaching-chrome-not-to-cache-your-rails-pages/" rel="nofollow noreferrer">here</a><br/>
  In about:cache page there is no my cached images.</p>
  
  <p>If i enable purge-memory-button for chrome (--purge-memory-button parameter) it`s not help.</p>
  
  <p>Images is in PNG24.</p>
  
  <p>So i think that the problem is not in cache.<br/>
  May be Google Chrome is not releasing memory for old images.</p>
  
  <p>Please help. Any suggestions.
  Thanks.</p>
  
  <p><em>Update:</em>
  Seems to be fixed <a href="http://code.google.com/p/chromium/issues/detail?id=36142" rel="nofollow noreferrer">http://code.google.com/p/chromium/issues/detail?id=36142</a></p>