Start a new topic

Memory warning in AR view

Memory warning in AR view


We have got a functionality in our app (iOS) where in we need to switch between two sets of objects being shown on the AR view. And all of them have got an image. The loaded objects are cleared using AR.context.destroyAll() before reloading the new ones. But this results in Memory warnings in the device and crashes. Is there a way to clear up the data without causing so much load on the device? I tried the clearCache method but that didn't solve the problem. Need an urgent response. Thanks.

Hi,

are you using identical images for all of your augmentations or can you create one AR.ImageResource and reuse them for many AR.ImageDrawables?

What are  the dimensions of your images?

 

Best regards

Andreas

We have got different images for the objects. The images are of dimension 155x145.

Hi,

we will release a maintenance update (3.2.1) as soon as we could fix the issue regarding background behaviour.

 

Best regards

Andreas
Login or Signup to post a comment