GooglePhotorealistic3DTileset possibly leaking memory

Hi,

After some intensive testing with GooglePhotorealistic3DTileset, I could observe Chrome CPU memory (JS stack) growing without being fully cleared by garbage collection.

Using the Dev Tools garbage collection button does (virtually) not reclaim this memory.

GPU memory appears to be stable.

I am using Chrome’s Task Manager to keep track of these figures.

I tried (as seen in the Cesium for Unity forum) to set “cacheBytes” to 0 in order to ensure the memory footprint is not generated by cached tiles.

The leak can be observed in this copy of the original Google Photorealistic 3d Tiles sandcastle with cacheBytes set to 0.