cgeo/c-geo-opensource — Issue #901: Rotating OSM map FC
Author: Pitel
Created: 2011-12-18 13:55:44+00:00
State: open

When I navigate to cache using some OSM map, tha acticity FC with following logcat:

E/AndroidRuntime(15206): FATAL EXCEPTION: Overlay
E/AndroidRuntime(15206): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime(15206):	at android.graphics.Bitmap.nativeCreate(Native Method)
E/AndroidRuntime(15206):	at android.graphics.Bitmap.createBitmap(Bitmap.java:477)
E/AndroidRuntime(15206):	at org.mapsforge.android.maps.Overlay.run(Overlay.java:215)

It doesn't happen with Google maps. And sometimes, it need to be rotated twice, before the FC.

As I see the stacktrace, there is not much you can do, since it's probably bug in mapsforge.