Start a new topic

Bad usage of memory

Bad usage of memory


I'm trying to view many 3D models in my iOS app, but after I loaded it, documents and data memory usage increase exponentially (app: 20mb, documents and data: 300/400mb). 

3d models weight always are < 15mb. I saw that there is an imponent memory leak of OpenGLES. How can I fix it? I tried deleting all AR.* object closing the app like the cache data of the app ;


We found an issue related to 3D model loading this week and will release a new version early next week. The problem right now is that some folders in the app sandbox 'tmp' folder are not deleted properly. So the app on disk will grow with each ARchitect World launch. The method '' does not resolve this issue.

Best regards



Ok Andreas, thank you. I will wait for this new release

Any updates?

Hi, the Developer Channel Release will go live tomorrow.
Simply check this link in the next time.

Best regards


Hi, we just uploaded the Developer Channel release for iOS.

Have a nice weekend!

Sorry Andreas but at this link I found only the May release, nothing about my req. May I still have to wait?


The file is already the updated one, only the date is the old one. 

Hi Philipp.

I just downloaded and included the latest release but the problem still present.

This is a screenshot taken after 2 minutes of 3D visualization:

And this is after another 3 minutes:

That's is, I think, because you re-draw the 3D model each time I upload my GPS position to adapt the size of the model depending on the distance. So the tmp folder still has all the 3D files printed before on the screen and you never delete them, I guess.


Can you give us more information how your application uses the Wikitude SDK View? Is it presented using a navigation controller, tab controller or is it the only visible view at all?
Maybe you can also send us the exported application from your iOS device using iExplorer so that we can check which folder contains which files. You can send the file or a download link to

Thx for your help in resolving this issue!

Best regards


Hi Andreas,

I analyzed the folders with iExplorer and I noticed the the tmp folder contain three folders with 3D model tmp files and these three, added, are 100MB size.

Screenshot in attachments. If you want, then I can upload the .app file.

Hi Luca!
Could you explain in a few sentences how your application flow is? I'm especially interested in how the WTArchitectView is managed. Do you destroy it somewhere in your code or does it live as long as the app is running? 

Best regards


When you start tha app you access to a page where you set, with a few taps, some settings that I pass to the ARView in the next controller.

Then I start the ArchitectView and with this a NavigationController that allow the user to change page, but all the app run around the ArchitectView. 

Then, in the AppDelegate, in the - (void)applicationWillTerminate:(UIApplication *)application  I destroy the AR.context with destroyAll(); method and I destroy all the instantiated classes

Any updates about this issue?
Login or Signup to post a comment