title: Not able to clear browser memory, even if clearing all texture cache with pixi. I am using pixioverlay and react leaflet
body: <p>I am creating PIXI sprite using SVG, and in react hooks I am clearing all the texture cache and base cache, but it is not clearing browser memory.</p>
  <p>Here is code for clearing all the cache and other resources.</p>
  <pre><code>      // unmount
  
           useEffect(
               () =&gt; () =&gt; {
                   if (pixiOverlay) {
                         pixiOverlay.utils.getContainer().removeChildren();
                   }
                  for (const textureUrl in PIXI.utils.BaseTextureCache) {
                    delete PIXI.utils.BaseTextureCache[textureUrl];
                  }
                 for (const textureUrl in PIXI.utils.TextureCache) {
                    delete PIXI.utils.TextureCache[textureUrl];
                 }
                 PIXILoader.reset();
                 
              },
              []
             );
  </code></pre>
  <p>Can any one please tell me, is there any way to clear memory when markers are destroyed.</p>