PATRIK27 / osmdroid

Automatically exported from code.google.com/p/osmdroid
0 stars 0 forks source link

OutOfMemoryError when using tile archive #228

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
When trying to use a tile archive with 380000 tiles and 484 MB in size I get an 
OutOfMemoryError in ZipFileArchive, when trying to instantiate a new ZipFile().
I don't even get a stacktrace in LogCat or a call to my 
UncaughtExceptionHandler, but the app just dies.

I'm using osmdroid-android-3.0.3.jar within my app on a HTC Desire running 
Android 2.2.

I did some research and there seem to be this kind of issues with ZipFile in 
different versions J2SE. Im not sure how they relate to Android, because the 
actual method that causes the error is a native one.

I've been wondering if ZipInputStream could be an alternative, but I guess not.

Original issue reported on code.google.com by osei...@gmail.com on 16 Jun 2011 at 6:00

GoogleCodeExporter commented 8 years ago
There have also been bug report in Market about this.

Original comment by neilboyd on 28 Jun 2011 at 5:25

GoogleCodeExporter commented 8 years ago
Issue 337 has been merged into this issue.

Original comment by neilboyd on 11 Apr 2012 at 5:05

GoogleCodeExporter commented 8 years ago
Issue 372 has been merged into this issue.

Original comment by neilboyd on 4 Oct 2012 at 3:22