do android has virtual memory.

1,659 views
Skip to first unread message

arun gupta

unread,
Apr 17, 2012, 5:27:40 AM4/17/12
to android-platform
does android have virtual memory.plz give some pointers abt it.

regards
Arun Gupta

Ubuntu guy

unread,
Apr 17, 2012, 3:43:40 PM4/17/12
to android-platform
It doesn't swap pages in and out of memory and uses low memory killer
to handle low memory scenarios and free memory for new applications...

Dianne Hackborn

unread,
Apr 17, 2012, 7:09:33 PM4/17/12
to android-...@googlegroups.com
To be a little more specific, it does use paging but not swap space.  That is, it relies heavily on being able to mmap() files and have the kernel page in data from the file as needed (and drop those pages when not needed).  It does not however use swap space for paging out dirty pages.

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




--
Dianne Hackborn
Android framework engineer
hac...@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.

arun gupta

unread,
Apr 18, 2012, 1:24:53 AM4/18/12
to android-...@googlegroups.com

arun gupta

unread,
Apr 18, 2012, 1:36:15 AM4/18/12
to android-...@googlegroups.com
thank you for the responses ....

arun gupta

unread,
Apr 18, 2012, 5:33:07 AM4/18/12
to android-...@googlegroups.com
hi all,
the android phone has a RAM memory of 1GB now in a 32 bit address space of arm arch. are we able to get additional 3gb space.if yes from where we get that memory.

regards
Arun Gupta

Dianne Hackborn

unread,
Apr 18, 2012, 9:25:24 PM4/18/12
to android-...@googlegroups.com
Er, add the RAM chips to your device?

Xiao-Feng Li

unread,
Apr 24, 2012, 8:54:10 PM4/24/12
to android-...@googlegroups.com
On Wed, Apr 18, 2012 at 5:33 PM, arun gupta <arungu...@gmail.com> wrote:
> hi all,
> the android phone has a RAM memory of 1GB now in a 32 bit address space of
> arm arch. are we able to get additional 3gb space.if yes from where we get
> that memory.
>
> regards
> Arun Gupta
>

You get that space already but just not all in physical memory at the
same time. I guess mostly you don't really need all of them in
physical memory at the same time for Android devices. At least it is
not the case in my running Android.

Thanks,
xiaofeng

--
http://people.apache.org/~xli

Reply all
Reply to author
Forward
0 new messages