title: Memory leak in Three.js
body: <p>We are trying to create a single page app in which user can switch between multiple Three.js apps. However we are noticing constant increase in memory usage by the tab. Their is no memory leakage in our app and seems Three.js variables are not getting cleared from RAM.</p>
  
  <p>Steps to recreate</p>
  
  <ol>
  <li>Visit <a href="http://threejs.org/examples/" rel="noreferrer">http://threejs.org/examples/</a> and open Task manager in Google Chrome to notice memory usage by the concerned tab.</li>
  <li>Keep switching between examples and you will notice constant increase in memory usage and it seems like GC never happens or is unable to delink previously consumed memory block.</li>
  <li>For my laptop with following configuration <a href="https://aboutmybrowser.com/pDp7aTxH" rel="noreferrer">https://aboutmybrowser.com/pDp7aTxH</a> memory easily shoots above 1GB when everything starts to freeze.</li>
  </ol>
  
  <p>I have noticed 2 bugs filed on chromium and firefox about this memory issue but no solution has been provided yet.</p>
  
  <p>Please help me on how to release memory, most of stuff I found on internet are not helping.</p>
  
  <p>PS: I have filed a bug at Three.js as well <a href="https://github.com/mrdoob/three.js/issues/4276" rel="noreferrer">https://github.com/mrdoob/three.js/issues/4276</a></p>