Log in or register to post comments

Memory Leak

June 19, 2013 - 4:25am #1

Vuforia has a memory leak on iOS when the setting for the Target Resolution is not set to native.

For a while there has been an issue with the screen not filling properly under these circumstances, which could be fixed by editing the XCode project - however the memory leak is a complete killer.

You can verify this by using the FrameMarker sample and setting the Target Resolution to auto, best performance.  Running with the Memory Monitor instrument will reveal a constant and fast increase in the Real Memory used by the application.  Returning the setting to Native will remove this leak.

Memory Leak

August 2, 2013 - 2:07am #6

Thanks for the update Stefann - glad it's sorted for you.

It sounds like a similar problem to the Image Effects issue posted elsewhere- when a developer tried this it was leaking memory, but the 4.2 update fixed it :)

 

N

Memory Leak

August 2, 2013 - 1:56am #5

hi,

i'm very sorry and happy at the same time. sorry, because i thought the memory leak was caused by the vuforia plugin, which apparently was not the case.

i'm happy to tell you that the update to unity 4.2 seems to solve the issue and that i managed to run the same application that caused troubles with 4.1 now without any memory leak.

thank you anyway for your support and for everyone else coming across the problem, please update to unity 4.2! i hope this will fix everyone elses problems too.

best,

stefan

Memory Leak

June 22, 2013 - 5:22am #4

Hi, 

Well I can't talk for whydoidoit but for me it has two reasons. 

1. Performance. Rendering at this resolution gives me better performance than any camera device mode I can set in the plugin. 

2. By rendering in lower resolution I can save memory in texture size which is very useful to me as I'm working on a memory critical application. 

Best, 

Stefan 

Memory Leak

June 21, 2013 - 9:14am #3

We are investigating this issue, however please note that this mode is not explicitly supported.

Is the requirement that you want different resolutions to improve performance?

 

N

Memory Leak

June 19, 2013 - 5:31am #2

posted the same bug two days ago, so i guess it's definitely a bug:

https://developer.vuforia.com/forum/unity-3-extension-technical-discussion/camera-viewport-gone-crazy#comment-2028588

best,

stefan

Log in or register to post comments