To be honest, I am surprised it requires that much. For something that isn't forward locked, we should need at most double the space (for the original copy of the apk, and the copy placed into /data/apps by the system as it is being installed before the original is deleted). Using more than 3x (actually almost 4x, but it being something between 3x and 4x is weird in itself) is not expected.
Btw, I just tried installing a 2068K app with "adb install" and here is a series of snapshots of the available space in /data: /data: 330496K total, 33600K used, 296896K available (block size 4096) /data: 330496K total, 36000K used, 294496K available (block size 4096) /data: 330496K total, 37716K used, 292780K available (block size 4096) /data: 330496K total, 37744K used, 292752K available (block size 4096) /data: 330496K total, 38056K used, 292440K available (block size 4096) /data: 330496K total, 38208K used, 292288K available (block size 4096) /data: 330496K total, 36184K used, 294312K available (block size 4096) /data: 330496K total, 36184K used, 294312K available (block size 4096) /data: 330496K total, 36184K used, 294312K available (block size 4096) That seems to match only requiring 2 copies of the .apk. (And to be honest, I think when you install over market you only need one copy of the .apk, because the actual download happens into /cache so doesn't use space in the data partition.) So... sorry, I honestly don't know what is happening in your case. On Tue, Sep 8, 2009 at 2:41 PM, Dan Sherman <[email protected]> wrote: > We're also a bit worried about how this would/will be handled in the ADC > installer, as I'm sure 22mb is easily above what many community judges will > have available... > > - Dan > > > On Tue, Sep 8, 2009 at 2:33 AM, Dan Sherman <[email protected]> wrote: > >> Oh sorry. >> >> I must not have specified, this is with just an APK, completely outside of >> the market. We've heard complaints of users having issues through the >> market, but with a full uninstall of the application, and an install from a >> downloaded APK (which I imagine should be a fresh install), it requires 22mb >> free during the install process. >> >> - Dan >> >> >> On Tue, Sep 8, 2009 at 1:18 AM, Dianne Hackborn <[email protected]>wrote: >> >>> If you select the option when putting your app on market it to copy >>> protect it (which uses forward locking on the device). >>> >>> >>> On Mon, Sep 7, 2009 at 7:21 PM, Dan Sherman <[email protected]> wrote: >>> >>>> Thanks for the responses, >>>> >>>> Dianne, what do you mean by forward-locked? >>>> >>>> - Dan >>>> >>>> On Mon, Sep 7, 2009 at 2:51 PM, Dianne Hackborn <[email protected]>wrote: >>>> >>>>> If your app is forward locked, it can take significantly more space, >>>>> even after the install is done (unfortunately all of the resources >>>>> currently >>>>> have to be installed twice). >>>>> >>>>> >>>>> On Mon, Sep 7, 2009 at 8:13 AM, Dan Sherman <[email protected]>wrote: >>>>> >>>>>> Hey guys, >>>>>> >>>>>> The package installer looks to take up a good amount of space when >>>>>> installing applications. We've published a very large game (ProjectINF - >>>>>> 6mb). And it looks to be taking up a good amount of space during the >>>>>> install process, to the point that we have a lot of users emailing us >>>>>> with >>>>>> complaints/requests to "fix it". >>>>>> >>>>>> From what we've seen, it looks to take about 22mb of free space to >>>>>> install a 6mb apk. While I can imagine taking double or so for unpacking >>>>>> and temp locations, almost 4x the size seems a bit high. After an >>>>>> install >>>>>> with 22mb free, the device has 16mb free (which makes perfect sense). >>>>>> >>>>>> Users also seem to be getting errors on the market when trying to >>>>>> install with less than that amount of space (with no real clear error >>>>>> message, just "Install Failed". >>>>>> >>>>>> I doubt theres anything we can do on our side (besides shrinking our >>>>>> app all around), but figured I'd ask :) >>>>>> >>>>>> - Dan >>>>>> >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Dianne Hackborn >>>>> Android framework engineer >>>>> [email protected] >>>>> >>>>> Note: please don't send private questions to me, as I don't have time >>>>> to provide private support, and so won't reply to such e-mails. All such >>>>> questions should be posted on public forums, where I and others can see >>>>> and >>>>> answer them. >>>>> >>>>> >>>>> >>>>> >>>>> >>>> >>>> >>>> >>> >>> >>> -- >>> Dianne Hackborn >>> Android framework engineer >>> [email protected] >>> >>> Note: please don't send private questions to me, as I don't have time to >>> provide private support, and so won't reply to such e-mails. All such >>> questions should be posted on public forums, where I and others can see and >>> answer them. >>> >>> >>> >>> >> > > > > -- Dianne Hackborn Android framework engineer [email protected] Note: please don't send private questions to me, as I don't have time to provide private support, and so won't reply to such e-mails. All such questions should be posted on public forums, where I and others can see and answer them. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

