Log in or register to post comments

Vuforia6 in Unity for iOS memory leak

November 24, 2016 - 12:06am #1

Hi All

About Vuforia6 in Unity for iOS  memory leak:

https://developer.vuforia.com/forum/unity-extension-technical-discussion/memory-leak-if-use-loadscene-unity-ios

medabit said in the postings:  This issue was resolved in Vuforia 6.

But I vuforia6 debugging process, found that the problem is still there.

Reproducing step:

create new project in unity

import sample:  ImageTargets-6-0-114.unitypackage

input license key to ARCamera

build and run for iOS

Debugging on the real machine:

1. Click OK to start recognition

2. Double-click the screen, pop-up menu, click About to return about page,

3. goto 1, repeat the operation

In Xcode view memory usage, there are 20 ~ 30M of memory is not released, repeated execution has been accumulated, the final crash

My environment

Unity 5.4.0f3

Vuforia 6.0.114

Xcode 7.3.1

Can someone help me?,  thanks.

Vuforia6 in Unity for iOS memory leak

December 11, 2016 - 7:33pm #2

Believe it or not this memory leak is over one year old, they told me they resolved in version 6, it actually got worse again ( its now 20-30 megs on each scene unload that contains vuforia ).  This is the last thread I started on the issue.

 

https://developer.vuforia.com/forum/unity-extension-technical-discussion/memory-leak-if-use-loadscene-unity-ios

Old Post

------------------------------------

This has been an issue for me for almost 1 year, I noticed it November 2015 and reported it in the forum.  Never got a helpful response from Vuforia, its a pretty serious issue.  I think its actually gotten worse, it use to be 2-3 megs.  I am working on upgrading an old project now and can confirm its 10 megs when you unload a scene with vuforia in it.  Does not matter if you do garbage collect or resource unload.  Also does not make a difference if you use the scene manager or application.loadlevel.  My guess is they are sloppy with assigning a bunch of listeners and don't automatically remove them in the trackable object, hopefully its not in the plugin and can be manually addressed in Unity.  I will let you know if I figure anything out.

------------------------------------

 

 

I have a museum installation waiting for this to be resolved, this a serious issue.  Any immediate help from Vuforia would be appreciated.

Best regards

 

Log in or register to post comments