Thanks Dianne.

I have some more queries.

 1. I am refering to the Cache memory which is return by getCacheDir
function. Is there any limit that per application only this much Cache
memory could be used?

 2. If Cache memory is same as normal internal data storage space then
is it dependent upon the mobile's phone memory? Is there any % amount
of total internal memory which could be used as Cache memory.

 3. Heap Memory: I had tried functions like Debug.getMemoryInfo which
returns Debug.memoryInfo object and also
ActivityManager.getProcessMemoryInfo function which returns
ActivityManager.MemoryInfo object. Now there are different functions
in MemoryInfo like getTotalPrivateDirty or getTotalPss(). I am unable
to understand use of these functions. What is the meaning of Total
Private Dirty memory or total PSS memory? Which one of them returns
Heap memory? Is there any limit per application to use heap memory?
Can we configure size of the heap memory?

Regards,
Manish

On Dec 29, 12:26 am, Dianne Hackborn <hack...@android.com> wrote:
> There is no cache memory size.  I'm not sure what you are referring to as
> cache; if you mean stuff put in the cache directory of your app, that is
> just in the normal internal data storage space.
>
> Heap size is available 
> from:http://developer.android.com/reference/android/app/ActivityManager.ht...()
>
>
>
>
>
> On Tue, Dec 28, 2010 at 5:08 AM, cool.manish <mannishga...@gmail.com> wrote:
> > Hi,
>
> > What is cache memory size for android device? Is it very according to
> > Devices? Is it divided in between application and one application can
> > use only specific amount of total size?
>
> > How to get info regarding Heap Memory Size? Again how to know
> > application specific Heap size? Can we change it?
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Developers" group.
> > To post to this group, send email to android-developers@googlegroups.com
> > To unsubscribe from this group, send email to
> > android-developers+unsubscr...@googlegroups.com<android-developers%2bunsubs­cr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> 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.- Hide quoted text -
>
> - Show quoted text -

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to