Bug 21292

Summary: Wrong memory values
Product: Memory Management Reporter: sworddragon2
Component: OtherAssignee: Andrew Morton (akpm)
Status: CLOSED INVALID    
Severity: normal CC: alan
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.36-1-generic ubuntu Subsystem:
Regression: No Bisected commit-id:
Attachments: Memory usage of the system

Description sworddragon2 2010-10-27 20:32:34 UTC
Created attachment 35282 [details]
Memory usage of the system

I get from top and htop wrong memory values. The following things aren't correct:

1. Both applications say that every process is using the swap and this aren't low values. But the sum in the overview says there is no swap in use (this seems to be the correct value).

2. The CODE + DATA values are in the most processes bigger than the RES values.

3. The virtual memory usage is to high (this seems because of the wrong swap values).

4. The sum of the RES memory of the processes is significant lower than the values in the overview.


I have tested this problem now on 4 different computer with a 32 bit version of ubuntu, a 64 bit version of ubuntu and a 32 bit version of debian but there is every time the same problem.
Comment 1 Alan 2012-05-12 12:55:42 UTC
This is the correct behaviour. Please read up on what the values actually mean