Closed GoogleCodeExporter closed 9 years ago
After a while playing really nice, there are stakkatos of out of memory errors and the map (currently the Bicycle Map) does not update any more. A few seconds later the app crashes, f.e. if turning from portrait into landscape mode. This renders the whole app unusable. Tested both on an emulator and Nexus One, bot SDK 7 With a little hint where I could try to fix it myself... Logcat Output. 04-05 11:35:23.686: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1008/679 04-05 11:35:23.686: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:23.686: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:23.686: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:23.686: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1008/679 04-05 11:35:23.686: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1008/679 04-05 11:35:23.696: DEBUG/OSM_FS_PROVIDER(1333): Next tile: 2/11/1008/680 04-05 11:35:24.846: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1007/680 04-05 11:35:24.856: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:24.856: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:24.856: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:24.856: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1007/680 04-05 11:35:24.856: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1007/680 04-05 11:35:24.856: DEBUG/OSM_FS_PROVIDER(1333): Next tile: 2/11/1009/680 04-05 11:35:26.006: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1008/680 04-05 11:35:26.006: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:26.006: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:26.006: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:26.006: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1008/680 04-05 11:35:26.006: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1008/680 04-05 11:35:26.006: DEBUG/OSM_FS_PROVIDER(1333): Next tile: 2/11/1008/681 04-05 11:35:27.166: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1009/680 04-05 11:35:27.166: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:27.166: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:27.166: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:27.166: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1009/680 04-05 11:35:27.166: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/680 04-05 11:35:27.166: DEBUG/OSM_FS_PROVIDER(1333): Next tile: 2/11/1009/681 04-05 11:35:28.666: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1008/681 04-05 11:35:28.676: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:28.676: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:28.676: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:28.686: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1008/681 04-05 11:35:28.686: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1008/681 04-05 11:35:28.686: DEBUG/OSM_FS_PROVIDER(1333): No more tiles 04-05 11:35:29.796: DEBUG/OSM_FS_PROVIDER(1333): Loaded tile: 2/11/1009/681 04-05 11:35:29.806: ERROR/dalvikvm-heap(1491): 262144-byte external allocation too large for this process. 04-05 11:35:29.806: ERROR/(1491): VM won't let us allocate 262144 bytes 04-05 11:35:29.806: DEBUG/skia(1491): --- decoder->decode returned false 04-05 11:35:29.806: ERROR/OPENSTREETMAP(1491): OutOfMemoryError putting tile in cache: 2/11/1009/681 04-05 11:35:29.806: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/681 04-05 11:35:29.806: DEBUG/OSM_FS_PROVIDER(1333): No more tiles 04-05 11:35:33.686: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:36:37.846: DEBUG/OSM_FS_PROVIDER(1333): FSCache Size is now: 121036030 Bytes 04-05 11:36:37.846: DEBUG/OSM_FS_PROVIDER(1333): Freeing FS cache... 04-05 11:36:37.846: DEBUG/OSM_DOWNLOADER(1333): Maptile saved 97574 bytes : 2/11/1009/677 04-05 11:36:37.846: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/677 04-05 11:36:37.846: DEBUG/OSM_DOWNLOADER(1333): No more tiles 04-05 11:36:41.256: DEBUG/dalvikvm(1333): GC freed 2534 objects / 413112 bytes in 187ms 04-05 11:36:41.686: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049318] 04-05 11:36:41.896: DEBUG/dalvikvm(1333): GC freed 102 objects / 184984 bytes in 157ms 04-05 11:36:42.836: DEBUG/OSM_FS_PROVIDER(1333): Tile existed 04-05 11:36:42.836: DEBUG/OSM_FS_PROVIDER(1333): FSCache Size is now: 121036030 Bytes 04-05 11:36:42.836: DEBUG/OSM_FS_PROVIDER(1333): Freeing FS cache... 04-05 11:36:42.836: DEBUG/OSM_DOWNLOADER(1333): Maptile saved 97574 bytes : 2/11/1009/677 04-05 11:36:42.836: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/677 04-05 11:36:42.836: DEBUG/OSM_DOWNLOADER(1333): No more tiles 04-05 11:36:44.006: DEBUG/OSM_FS_PROVIDER(1333): Tile existed 04-05 11:36:44.006: DEBUG/OSM_FS_PROVIDER(1333): FSCache Size is now: 121036030 Bytes 04-05 11:36:44.006: DEBUG/OSM_FS_PROVIDER(1333): Freeing FS cache... 04-05 11:36:44.026: DEBUG/OSM_DOWNLOADER(1333): Maptile saved 97574 bytes : 2/11/1009/677 04-05 11:36:44.036: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/677 04-05 11:36:44.036: DEBUG/OSM_DOWNLOADER(1333): No more tiles 04-05 11:36:44.436: DEBUG/OSM_FS_PROVIDER(1333): Tile existed 04-05 11:36:44.446: DEBUG/OSM_FS_PROVIDER(1333): FSCache Size is now: 121036030 Bytes 04-05 11:36:44.446: DEBUG/OSM_FS_PROVIDER(1333): Freeing FS cache... 04-05 11:36:44.446: DEBUG/OSM_DOWNLOADER(1333): Maptile saved 97574 bytes : 2/11/1009/677 04-05 11:36:44.446: DEBUG/OPENSTREETMAP(1491): MapTile request complete: 2/11/1009/677 04-05 11:36:44.446: DEBUG/OSM_DOWNLOADER(1333): No more tiles 04-05 11:36:46.646: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:36:53.296: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:37:11.106: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:37:20.186: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:37:32.786: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:37:59.866: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:39:25.506: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:39:32.156: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:40:03.516: DEBUG/WifiService(78): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260} 04-05 11:40:03.516: DEBUG/NetworkLocationProvider(78): getLocation(): triggering a wifi scan 04-05 11:40:03.546: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:40:06.326: INFO/wpa_supplicant(121): CTRL-EVENT-SCAN-RESULTS Ready 04-05 11:40:06.336: DEBUG/NetworkLocationProvider(78): updateWifIScanResults(): 3 APs 04-05 11:40:06.376: DEBUG/LocationMasfClient(78): getNetworkLocation(): Returning cache location with accuracy 75.0 04-05 11:40:06.376: VERBOSE/tml.GeoLocationService(429): moved less than MIN_DISTANCE and uploadPeriod not expired 04-05 11:40:08.516: DEBUG/WifiService(78): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260} 04-05 11:42:46.116: WARN/ActivityManager(78): Unable to start service Intent { cmp=com.aws.android/.widget.radar.RadarWidget$RadarWidgetService }: not found 04-05 11:42:46.716: DEBUG/dalvikvm(398): GC freed 6031 objects / 492640 bytes in 189ms 04-05 11:42:46.906: DEBUG/dalvikvm(398): GC freed 82 objects / 3384 bytes in 182ms 04-05 11:42:47.096: INFO/global(398): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required. 04-05 11:42:47.106: INFO/global(398): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required. 04-05 11:42:47.136: INFO/global(398): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required. 04-05 11:42:50.266: DEBUG/dalvikvm(429): GC freed 6205 objects / 500032 bytes in 145ms 04-05 11:42:50.296: DEBUG/NetworkLocationProvider(78): setMinTime: 0 04-05 11:42:50.296: DEBUG/WifiService(78): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260} 04-05 11:42:50.296: DEBUG/NetworkLocationProvider(78): getLocation(): triggering a wifi scan 04-05 11:42:50.336: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:42:53.126: INFO/wpa_supplicant(121): CTRL-EVENT-SCAN-RESULTS Ready 04-05 11:42:53.136: DEBUG/NetworkLocationProvider(78): updateWifIScanResults(): 4 APs 04-05 11:42:53.186: DEBUG/LocationMasfClient(78): getNetworkLocation(): Returning cache location with accuracy 75.0 04-05 11:42:53.196: VERBOSE/tml.GeoLocationService(429): Storing current location 04-05 11:42:53.366: DEBUG/NetworkLocationProvider(78): setMinTime: 300000 04-05 11:42:53.406: VERBOSE/TracksProvider(429): notifyChange: content://sgwdl.provider.GPSTracking/track 04-05 11:42:53.486: VERBOSE/TrackUploadThread(429): run 04-05 11:42:53.736: VERBOSE/TrackUploadThread(429): uploaded records: 1 04-05 11:42:55.296: DEBUG/WifiService(78): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260} 04-05 11:43:05.186: DEBUG/dalvikvm(398): GC freed 2520 objects / 785064 bytes in 159ms 04-05 11:43:12.066: VERBOSE/BackupManagerService(78): clearing pending backups 04-05 11:43:12.126: DEBUG/PerformBackupThread(78): starting agent for backup of BackupRequest{app=ApplicationInfo{44a09168 com.android.providers.settings} full=false} 04-05 11:43:12.146: DEBUG/BackupManagerService(78): awaiting agent for ApplicationInfo{44a09168 com.android.providers.settings} 04-05 11:43:12.146: DEBUG/BackupManagerService(78): agentConnected pkg=com.android.providers.settings agent=android.app.BackupAgent$BackupServiceBinder@44baaae0 04-05 11:43:12.306: INFO/global(78): Default buffer size used in BufferedReader constructor. It would be better to be explicit if an 8k-char buffer is required. 04-05 11:45:05.906: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:45:09.996: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:45:50.806: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7048653] 04-05 11:46:15.226: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:47:50.316: DEBUG/WifiService(78): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260} 04-05 11:47:50.316: DEBUG/NetworkLocationProvider(78): getLocation(): triggering a wifi scan 04-05 11:47:50.346: DEBUG/NetworkLocationProvider(78): onCellLocationChanged [21,7049314] 04-05 11:47:53.166: INFO/wpa_supplicant(121): CTRL-EVENT-SCAN-RESULTS Ready 04-05 11:47:53.166: DEBUG/NetworkLocationProvider(78): updateWifIScanResults(): 3 APs 04-05 11:47:53.206: DEBUG/LocationMasfClient(78): getNetworkLocation(): Returning cache location with accuracy 75.0 04-05 11:47:53.206: VERBOSE/tml.GeoLocationService(429): moved less than MIN_DISTANCE and uploadPeriod not expired 04-05 11:47:55.326: DEBUG/WifiService(78): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 binder=android.os.Binder@44c12260}
Original issue reported on code.google.com by thomas.f...@gmail.com on 5 Apr 2010 at 9:53
thomas.f...@gmail.com
Duplicate of #27.
Original comment by viesturz on 7 Apr 2010 at 4:56
viesturz
Original comment by neilboyd on 13 Apr 2010 at 1:05
neilboyd
Original issue reported on code.google.com by
thomas.f...@gmail.com
on 5 Apr 2010 at 9:53