We have a Cesium application that cycles through a variety of pages that includes a 3D view (using Cesium). We are loading these various pages via a dynamic content load with Ajax. (similar to what they're doing with this example: http://phppot.com/jquery/dynamic-content-load-using-jquery-ajax/ )
We are having an issue that when we leave a page and close the Cesium context, the memory doesn't get freed, and (depending on the platform) after a few cycles of showing the Cesium page, we will crash because we are out of memory.
I've managed to strip this down to a fairly bare-bones example locally to eliminate all other possible factors, dynamically loading the "HellowWorld" example provided in the distribution into a dynamic Div multiple times with a button press.
The most problematic test platform is an iPad2, but the memory creep can be witnessed on any platform in Chrome via recurring heap snapshots. There is an increase of about 10MB with each subsequent load.
Is there perhaps a method I'm missing that forces WebGL/Cesium to release its held memory? I have made sure to remove all imageryLayers and primitives as well as call globe.destroy, but have had no luck and these methods have made zero impact on the memory usage.