Skip to content

Pixelated image and crash on some devices #2

@steren

Description

@steren

Hi,
I tested worldmap and am using it in a project to display a big picture.

When I test your latest code on a Galaxy S3, I can reproduce an bug:

  • un-zoom quickly to the minium zoom level with a pinch gesture
  • zoom quickly on a country of the map.
  • you will see that the country is pixelated and is never filled with the high resolution data. And you will experience an app crash some seconds after.
    (try this manipulation a few times if no problem detected)

It's like the cache is not re-computed.

I can reproduce this bug on Galaxy S3, GalaxyS2 and Galaxy Ace.

I will investigate the issue but if you have any idea it would be very welcomed.

I notice that I've got these errors in the logcat:
E/dalvikvm-heap(19564): Out of memory on a 38047104-byte allocation.
E/InputStreamScene(19564): caught oom -- cache now at 0 percent.

I also notice these errors:
SKIA FimgApiStretch:stretch failed
But by browsing online, I can read that is only due to the Samsung phone.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions