[Nexus One Android Development] pavulon:
Didn't help. Still getting error 489, for apps > 40MB.

W/DownloadManager( 1411): Aborting request for download 25: space in the filesystem rooted at: /data/user/0/com.android.providers.downloads/cache is below 10% availability. stopping this download.

root@android:/ # df -h

Filesystem Size Used Available Use% Mounted on

tmpfs 202.2M 48.0K 202.2M 0% /dev

tmpfs 202.2M 0 202.2M 0% /mnt/asec

tmpfs 202.2M 0 202.2M 0% /mnt/obb

/dev/block/mtdblock3 260.0M 254.4M 5.6M 98% /system

/dev/block/mtdblock5 168.3M 156.4M 11.9M 93% /sd-ext

/dev/block/mtdblock4 8.0M 1.1M 6.9M 14% /cache

/dev/block/mmcblk0p2 1.8G 69.9M 1.6G 4% /data

/dev/block/dm-0 4.0M 2.7M 1.3M 69% /mnt/asec/ch.teamtasks.tasks.paid-1

/dev/block/dm-1 7.0M 5.3M 1.7M 76% /mnt/asec/radiotime.player-1

/dev/block/dm-2 10.0M 8.0M 2.0M 80% /mnt/asec/com.quoord.tapatalkpro.activity-1

/dev/block/dm-3 12.0M 10.1M 1.9M 84% /mnt/asec/udk.android.reader-1

/dev/block/dm-4 2.0M 108.0K 1.9M 5% /mnt/asec/com.keramidas.TitaniumBackupPro-1

/dev/block/dm-5 12.0M 10.1M 1.9M 84% /mnt/asec/com.bithack.apparatus-1

/dev/block/vold/179:1

1.8G 168.4M 1.6G 9% /storage/sdcard0

/dev/block/vold/179:1

1.8G 168.4M 1.6G 9% /mnt/secure/asec

It seems that apk files from market are being downloaded to /sd-ext/data/com.android.providers.downloads/cache (where is only 11.9MB free space) instead of /data/user/0/com.android.providers.downloads/cache

Removed symlink from /data/user/0/com.android.providers.downloads/cache to /sd-ext/data/com.android.providers.downloads/cache and now I am able to download bigger files than 11.9MB but still failing for files below 40MB (although /data has > 1GB free space):

W/DownloadManager( 1411): Downloads data dir: /data/user/0/com.android.providers.downloads/cache is running low on space. space available (in bytes): -1048169

I/DownloadManager( 1411): discardPurgeableFiles: destination = 2, targetBytes = 4194304

I/DownloadManager( 1411): Purged files, freed 0 for 4194304 requested

I/DownloadManager( 1411): in removeSpuriousFiles

W/DownloadManager( 1411): Aborting request for download 28: not enough free space in the filesystem rooted at: /data/user/0/com.android.providers.downloads/cache and unable to free any more

W/DownloadManager( 1411): Aborting request for download 28: http error 200, mContinuingDownload: true

D/DownloadManager( 1411): cleanupDestination() deleting /data/user/0/com.android.providers.downloads/cache/downloadfile.apk

D/Finsky ( 1023): [1] DownloadQueueImpl.notifyProgress: com.lazy8studios.cogs: onProgress 42898366/-1 Status: 489.

D/Finsky ( 1023): [1] DownloadBroadcastReceiver.onReceive: Intent received at DownloadBroadcastReceiver

D/dalvikvm( 1023): GC_EXPLICIT freed 1625K, 33% free 14515K/21511K, paused 28ms+16ms, total 154ms

D/Finsky ( 1023): [1] DownloadImpl.setState: com.lazy8studios.cogs from DOWNLOADING to ERROR.

D/Finsky ( 1023): [1] DownloadQueueImpl.onError: com.lazy8studios.cogs: onError 489.

D/Finsky ( 1023): [1] DownloadQueueImpl.remove: Download com.lazy8studios.cogs removed from DownloadQueue

D/Finsky ( 1023): [1] InstallerTask.cancelCleanup: Cancel running installation of com.lazy8studios.cogs