Ticket Created
over 3 years ago

CIQQA-1008

Venu 2 Plus Fails to Retrieve Large Image From Storage.

It appears that the Venu 2 Plus, or any device with a graphics pool for that matter, can't retrieve large images using Storage.getValue(). (I haven't tested non-graphic pool devices, as they can't download images that big). The image in question is 368165 bytes (368.17 kB).  

My app (Maps4Garmin) allows users to store their maps for offline usage later using Storage.setValue().  Every device, including the Venu 2 Plus can store its map image.  The problem is retrieving it.  While all the other watches can retrieve the image as expected, the Venu 2 Plus throws an out of memory error.  

I figured out part of the problem: the Venu 2 Plus can download bigger images, thus, the Storage is bigger.  For example, when testing with an image 256165 bytes (256.17 kB), Storage.getValue() works fine.  It's only when the image is large that I get this error.  

The problem occurs using SDK 4.0.10 (haven't tested others), in the sim and on the device (according to ERA).

So, is there a workaround for this bug? Has anyone else experienced this problem? 

I hope that this is an easy fix.  If I can provide any additional information, please let me know.  

Thanks!

Lance

Parents Comment Children
  • Great, thank you so much for doing all this to figure the problem out!!

    The reason why it was failing on the Venu2Plus is a problem on my side.  I manually hardcode in the max image size for each watch to download.  I allowed the Venu2Plus to download a bigger image than the Venu2.  The Venu2's image size wasn't big enough to cause the out-of-memory error, while the Venu2Plus had the bigger image, causing it to give an out-of-memory error. 

    Thanks again!