323 Presentation

You might also like

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 5

Introduction About Android

Memory

Android is a
Android is a Linux
software stack for
based OS with 2.6.x
mobile devices
kernel, stripped
that includes an
down to handle
operating system,
most tasks pretty
middleware and
well.
key applications.
MEMORY MANAGEMENT IN BRIEF:

*Linux kernel does most of the job Page-based memory


management Virtual address to physical address mapping
NO virtual memory.

MEMORY EFFICIENCY:

*Shared constant string pool Share clean (even some


dirty) memory between processes as much as
possible .dex les are mapped as read-only by
mmap() Memory efcient JIT implementation JIT
itself is about 100K Code cache and supporting data
structure takes another 100K for each application.
Memory managementis a serious
issue for Java development. When
it comes to Android, though,
things are a little different:
consequences are limited to your
individual app, rather than
system-wide catastrophes. That
means you might need some
different strategies, and
thisrecent articlefrom Joe Mahon
at Raizlabs provides a few tips to
help you out.

You might also like