lattyqueen / android-os-monitor

Automatically exported from code.google.com/p/android-os-monitor
0 stars 0 forks source link

Wrong memory-per-process info #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start application, Process tab
2. Ensure that third column displays memory values for processes (Mem)

What is the expected output? What do you see instead?
The list contains huge, unreal values. If you sum them, the final value would 
be something like 600-700 MBs, while Memory Total shows only 287 MB (for my 
particular device). It would be nice to see real memory consuming per each 
process.

What version of the product are you using? On what operating system?
1.1.8, Android 2.1update-1

Please provide any additional information below.
Running SE x10i, 2.1, rooted.

Original issue reported on code.google.com by cre...@gmail.com on 17 Dec 2010 at 11:13

GoogleCodeExporter commented 8 years ago
OSMonitor displays virutal memory usage of each process which includes private 
memory and shared memory, it like ps command on linux, please take a look at 
this url below, it coluld help you to understand.

Understanding memory usage on Linux 
http://virtualthreads.blogspot.com/2006/02/understanding-memory-usage-on-linux.h
tml

It is possible to get "real" memory usage from /proc/[pid]/smaps, it will take 
some time to add this function, I will work on it. :>

Original comment by eolw...@gmail.com on 20 Dec 2010 at 6:30

GoogleCodeExporter commented 8 years ago
I read the topic, and thanks - now it more clear. But, if it would be possible 
- I'd like to see amounts of process's own memory, and amount of shared memory 
as well. It could be something like

Process    15 MB (8MB)

Where 15 is total memory amount, and 8 is process's own memory. 

Original comment by cre...@gmail.com on 20 Dec 2010 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by eolw...@gmail.com on 4 Sep 2011 at 12:40