"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

iOS - Memory Limit exceeded on initialization

When building even a minimal demo app from the supplied sample scene with Vuforia 10.1.4 on Unity 2021.1.5f1 (also tried a few other versions with same result) and Xcode 13.0 (same thing with 12.4) then running the app on an iPhone will cause iOS to kill the app 3 out of 4 times because during initializiation it is trying to allocate more than 1450mb of memory - this happens in one of the Vuforia threads in chunks of about 3mb at a rate that is so fast (every frame?) that within a few seconds the limit will be reached.

This behavior can be reproduced on iOS versions ranging from 11.x to 14.8 - it does however not happen on every single startup of the app, and the exact same build that crashes far too often on iPhones (tested on 6 through 12 - no significant difference) will start fine on an iPad Pro.

Has anyone else seen this issue and does anyone know a possible fix for this?

Hey there,

 

I've heard from another developer this week about a similar issue. I have raised this to our R&D and will be working closely to see if we can discover anything. 

 

Kind regards,

Patrick Scheper

Could you provide the zipped minimal unity project that you used? Did you found a way where the crash happens 100% of the time?

 

Kind regards,

Patrick Scheper

Technical Community Manager