The Java heap is limited to 16MB, but that is just the heap, so I don't
believe code is included.

The basic answer is: keep your app as small as possible.  A little more
detail: the G1 has ~75MB of storage for both apps and data, so if your app
is 1MB it is using 7.5% of that storage which is getting quite noticeable.
Also the code needs to be copied out during the dexopt phase, so if your
size is significantly related to code than that total space needed is
likewise increased.

At that point, it's just a matter for you to decide how much space your
application can take before your users won't think it is worth keeping on
their phone.

On Fri, Jun 19, 2009 at 10:47 AM, Fred Grott(shareme)
<[email protected]>wrote:

>
> It wil be smaller than the heap size limit per apps..so if that is 10
> megs than assume 4 to 5 megs?
>
>
>
> On Jun 19, 8:35 am, indodroid <[email protected]> wrote:
> > I also had the same query. What is a reasonable footprint of an
> > android application (static footprint)...and what is the maximum
> > runtime footprint that is acceptable ?
> >
> > Regards
> > indodroid.
> >
> > On May 27, 3:25 pm, [email protected] wrote:
> >
> > > Hi,
> >
> > > What is the maximum size allowed for an android application?
> >
> > > Regards,
> > > Abdul Muyeed M
> >
>


-- 
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to