title: Three js memory management
body: <p>I have a large scene with a lot of Mesh and MorphAnimMesh. I want to free memory when the meshes are removed. If i know right this is the best way to do:</p>
  
  <pre><code>for ( var i = scene.children.length - 1; i &gt;= 0 ; i -- ) {
    var obj = scene.children[i];
    scene.remove(obj);
    obj.deallocate(); 
    obj.geometry.deallocate();
    obj.material.deallocate();
    obj.material.map.deallocate();
  }
  </code></pre>
  
  <p>if i check the memory usage at task manager after this, nothing changes. ( tried to wait a few min for GC but nothing. ) Google Chrome memory snapshot shows the objects still there. morphTargets in THREE.Geometry @1862203 etc.</p>
  
  <p>Tried to set the obj to null, but still no memory decrease.</p>
  
  <p>Any idea what am i doing wrong?</p>
  
  <p>Its a game with levels and the player can change from one to another. After a few change memory usage increases to really high. Thats why i want to remove all object from memory before the level change.</p>