Thanks for your responses... -Chander
On Jan 22, 6:39 pm, Jean-Baptiste Queru <j...@google.com> wrote: > If there's any RAM free, it's wasted. RAM can be used to keep > processes, applications and paused activities around, to keep > uncollected garbage in the virtual machines, to cache files, etc... > and it's really a goal to keep RAM usage as high as reasonable all the > time. > > JBQ > > > > On Wed, Jan 21, 2009 at 11:39 PM, android_soft <cspeche...@gmail.com> wrote: > > > Hi Diana, > > Couple of things: > > 1. Display available RAM - > > 2. Allocate static memory based on certain percentage of available RAM > > and let the user do some tests for some sort of monitoring APP. > > private static byte[][] allocateMem; > > allocateMem = new byte[m][m]; // m = 1024 for 1MB of available > > RAM ..lets say... > > > Thanks for your response, > > Chander > > > On Jan 20, 10:53 pm, "Dianne Hackborn" <hack...@android.com> wrote: > >> Between Linux and Dalkvik's VM "available device RAM" is pretty > >> meaningless. What are you wanting to accomplish. > > >> On Tue, Jan 20, 2009 at 7:44 AM, android_soft <cspeche...@gmail.com> wrote: > > >> > Hi All, > >> > Anyone knows how to get the available Device RAM through an API ? > >> > I am not looking for - Runtime.getInstance().freeMemory() > > >> > Thanks in advance, > >> > Chander > > >> -- > >> 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. All such questions should be posted on public > >> forums, where I and others can see and answer them. > > -- > Jean-Baptiste M. "JBQ" Queru > Android Engineer, Google. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---