When removing the canvas view or loading new content into the existing canvas view I am finding the memory previously used is not cleared / garbage collected on iOS. This results in memory usage continually growing when loading content and adding/removing the view multiple times. I am using an iPad 3 with iOS 7.1.
The scenes being loaded into the canvas view are three.js webGL views that are reasonably large, so after loading a few scenes performance is noticeably degraded and easy to crash the app due to running out of memory.
When removing the canvas view or loading new content into the existing canvas view I am finding the memory previously used is not cleared / garbage collected on iOS. This results in memory usage continually growing when loading content and adding/removing the view multiple times. I am using an iPad 3 with iOS 7.1.
The scenes being loaded into the canvas view are three.js webGL views that are reasonably large, so after loading a few scenes performance is noticeably degraded and easy to crash the app due to running out of memory.
Is there any way to reclaim memory?
Thanks!