So how do I get the total amount of RAM on the system? On Fri, Nov 7, 2008 at 2:19 PM, hackbod <[EMAIL PROTECTED]> wrote:
> > This is the amount of RAM available to the kernel and higher-level > system as regular memory. The rest is used for various other things > like the radio image, frame buffers and surfaces, etc. > > On Nov 7, 8:45 am, Brendon <[EMAIL PROTECTED]> wrote: > > I'm working on a System Monitor app (first version is already in the > > market) to get my feet wet with Android. When getting RAM totals, I > > grab MemTotal from /proc/meminfo, however this only shows 99129KB. > > Doesn't the G1 have 192MB of RAM? Is there another field from this > > file I should add to this total, or is this just not the right way to > > figure it out. I think I remember reading that some changes were made > > to the kernel to handle memory more efficiently, could this have an > > impact? > > > > On any other Linux system I've used, meminfo shows the correct total > > for system RAM, so could we have been shorted on the G1? > > > -- Brendon --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---