[android-developers] Re: Does /proc/meminfo show the correct memory info?

2008-11-07 Thread Brendon Drew
Well, it's not available to the user directly, but it is used by the system
as a whole.  I'm simply curious how to determine total physical RAM.

On Fri, Nov 7, 2008 at 6:04 PM, Eric <[EMAIL PROTECTED]> wrote:

>
> > So how do I get the total amount of RAM on the system?
>
> From the published specifications for the phone.
>
> What's the point of knowing how much memory *isn't* available for use?
>
> >
>


-- 

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
-~--~~~~--~~--~--~---



[android-developers] Re: Does /proc/meminfo show the correct memory info?

2008-11-07 Thread Eric

> So how do I get the total amount of RAM on the system?

>From the published specifications for the phone.

What's the point of knowing how much memory *isn't* available for use?

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



[android-developers] Re: Does /proc/meminfo show the correct memory info?

2008-11-07 Thread Brendon Drew
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
-~--~~~~--~~--~--~---



[android-developers] Re: Does /proc/meminfo show the correct memory info?

2008-11-07 Thread hackbod

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?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---