You can refer to java.lang.Runtime by reference tab of  Android SDK
online document.

regards,
Caval.

On 8月5日, 上午10时50分, whitech <[email protected]> wrote:
> Thank you.
> But I'm  wondering if I can know how much memory I'm using in my
> program so I can do some tractic in using memory. Is there some API
> for us to use?
>
> On 8月5日, 上午10时38分, caval <[email protected]> wrote:
>
>
>
> > Firstly you can enter into the shell mode by typing "adb shell"then because
> > android has a linux heart so you can type "ps"
> > to see all process's status which also including mem info.
>
> > Regards,
> > Caval.
>
> > 2009/8/5 whitech <[email protected]>
>
> > > Oh so sorry to hear that....
> > > Thank you.
> > > There's another problem, is there some way to know how many memory my
> > > program is using ?
>
> > > On 8月4日, 下午6时39分, Mark Murphy <[email protected]> wrote:
> > > > whitechwrote:
> > > > > There is another problem, can I push the limit of memory higher? It is
> > > > > a little too small with only 16 MB
>
> > > > Not without changing the firmware.
>
> > > > --
> > > > Mark Murphy (a Commons Guy)http://commonsware.com|
> > >http://twitter.com/commonsguy
>
> > > > Android Training in Germany, 18-22 January 2010:http://bignerdranch.com
--~--~---------~--~----~------------~-------~--~----~
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