wiglewifi Errors
Posted: Fri Oct 01, 2010 6:56 pm
Great app, but a couple errors I'm seeing with version 1.22 running on a droid2 with froyo:
Out of memory error when looking at maps
This seems to be correlated with how many map cells it has to load, zooming in particular will make this happen more often than if you stay away from the maps function. Can happen as frequently as ~15 minute intervals when stumbling with maps. Sometimes happens in the background and the service has to restart when you switch back to it.
Out of memory error when uploading files
This one is more rare, I run into it only once in a while. Usually after a longer run where it will write out the file slowly and then crash as it appears to be doing the actual upload to wigle. Occasionally the file upload gets confused and resends points it has before (e.g. 20100928-00001 and 20100926-00016 of my recent uploads), but I'm not sure that's well correlated with the issue.
Application error when trying to upload while phone is connected via USB
Connecting the phone to a computer via USG apparently locks the file system, which prevents wiglewifi from creating the upload file. I get a popup error panel in wiglewifi and sometimes a full crash. If you then disconnect the phone it still fails to upload or uploads a zero file, but eventually catches up after quitting and restarting the app.
I sent at least one error report of each in to bobz, let me know if there's more I can do to help debug.
Out of memory error when looking at maps
This seems to be correlated with how many map cells it has to load, zooming in particular will make this happen more often than if you stay away from the maps function. Can happen as frequently as ~15 minute intervals when stumbling with maps. Sometimes happens in the background and the service has to restart when you switch back to it.
Thread: Thread[main,5,main] throwable: java.lang.OutOfMemoryError: bitmap size exceeds VM budgetjava.lang.OutOfMemoryError: bitmap size exceeds VM budget
at android.graphics.BitmapFactory.nativeDecodeStream(Native Method)
at android.graphics.BitmapFactory.decodeStream(BitmapFactory.java:459)
at org.andnav.osm.DefaultResourceProxyImpl.getBitmap(DefaultResourceProxyImpl.java:65)
at org.andnav.osm.views.overlay.MyLocationOverlay.<init>(MyLocationOverlay.java:126)
at org.andnav.osm.views.overlay.MyLocationOverlay.<init>(MyLocationOverlay.java:114)
at net.wigle.wigleandroid.MappingActivity.setupMapView(MappingActivity.java:83)
Out of memory error when uploading files
This one is more rare, I run into it only once in a while. Usually after a longer run where it will write out the file slowly and then crash as it appears to be doing the actual upload to wigle. Occasionally the file upload gets confused and resends points it has before (e.g. 20100928-00001 and 20100926-00016 of my recent uploads), but I'm not sure that's well correlated with the issue.
Thread: Thread[Thread-2524,5,main] throwable: java.lang.RuntimeException: FileUploaderTask throwable: java.lang.OutOfMemoryErrorjava.lang.RuntimeException: FileUploaderTask throwable: java.lang.OutOfMemoryError
at net.wigle.wigleandroid.FileUploaderTask.run(FileUploaderTask.java:161)
Caused by: java.lang.OutOfMemoryError
at java.nio.channels.Channels$WritableByteChannelImpl.write(Channels.java:387)
Application error when trying to upload while phone is connected via USB
Connecting the phone to a computer via USG apparently locks the file system, which prevents wiglewifi from creating the upload file. I get a popup error panel in wiglewifi and sometimes a full crash. If you then disconnect the phone it still fails to upload or uploads a zero file, but eventually catches up after quitting and restarting the app.
I sent at least one error report of each in to bobz, let me know if there's more I can do to help debug.