You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi with code compiled from current master (same as my last PR) I'm facing this exception when using mapsforge map (tested with 0.3.0 and 0.2.4 map file for czech republic), not reproducible on same place with google maps.
W/dalvikvm( 1388): threadid=10: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 1388): FATAL EXCEPTION: Thread-29
E/AndroidRuntime( 1388): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470)
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:284)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.loadCachedImage(HtmlImage.java:196)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.loadImageFromStorage(HtmlImage.java:157)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:85)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:1)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.startImg(Html.java:605)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.handleStartTag(Html.java:489)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.startElement(Html.java:732)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.push(Parser.java:794)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.rectify(Parser.java:1061)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.stage(Parser.java:1026)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:573)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:449)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.convert(Html.java:411)
E/AndroidRuntime( 1388): at android.text.Html.fromHtml(Html.java:139)
E/AndroidRuntime( 1388): at cgeo.geocaching.cgCache.storeCache(cgCache.java:1485)
E/AndroidRuntime( 1388): at cgeo.geocaching.maps.CGeoMap$LoadDetails.run(CGeoMap.java:1412)
W/ActivityManager( 227): Force finishing activity cgeo.geocaching/.maps.mapsforge.MapsforgeMapActivity
The text was updated successfully, but these errors were encountered:
Please give us the gc-code. The OOM occurs while downloading an image from the website. This in conjunction with the map in background is too much for the device.
a) Not enough memory (e.g. 24 MB?)
b) Image too large
Hi,
I don't know the exact cache which was causing this ... but it was around this cache http://www.geocaching.com/seek/cache_details.aspx?wp=GC2AVAB
about 20 caches in map. It crashed multiple times when I was trying to download all of them.
I don't know if I will be able to get more information, but I can try in the evening or tomorrow.
Hi I have tested this with other setting of heap size, when I set 48MB per app, it will never appear, so it should be caused by combination of small heap size and big screen resolution (800x480).
Hi with code compiled from current master (same as my last PR) I'm facing this exception when using mapsforge map (tested with 0.3.0 and 0.2.4 map file for czech republic), not reproducible on same place with google maps.
W/dalvikvm( 1388): threadid=10: thread exiting with uncaught exception (group=0x40018560)
E/AndroidRuntime( 1388): FATAL EXCEPTION: Thread-29
E/AndroidRuntime( 1388): java.lang.OutOfMemoryError: bitmap size exceeds VM budget
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:470)
E/AndroidRuntime( 1388): at android.graphics.BitmapFactory.decodeFile(BitmapFactory.java:284)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.loadCachedImage(HtmlImage.java:196)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.loadImageFromStorage(HtmlImage.java:157)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:85)
E/AndroidRuntime( 1388): at cgeo.geocaching.network.HtmlImage.getDrawable(HtmlImage.java:1)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.startImg(Html.java:605)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.handleStartTag(Html.java:489)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.startElement(Html.java:732)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.push(Parser.java:794)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.rectify(Parser.java:1061)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.stage(Parser.java:1026)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.HTMLScanner.scan(HTMLScanner.java:573)
E/AndroidRuntime( 1388): at org.ccil.cowan.tagsoup.Parser.parse(Parser.java:449)
E/AndroidRuntime( 1388): at android.text.HtmlToSpannedConverter.convert(Html.java:411)
E/AndroidRuntime( 1388): at android.text.Html.fromHtml(Html.java:139)
E/AndroidRuntime( 1388): at cgeo.geocaching.cgCache.storeCache(cgCache.java:1485)
E/AndroidRuntime( 1388): at cgeo.geocaching.maps.CGeoMap$LoadDetails.run(CGeoMap.java:1412)
W/ActivityManager( 227): Force finishing activity cgeo.geocaching/.maps.mapsforge.MapsforgeMapActivity
The text was updated successfully, but these errors were encountered: