Comment 12 for bug 358753

Revision history for this message
kamome (kamome) wrote :

Shouldn't we use something like "pmap -d <PID>" instead?
I am on lucid with a slightly memory-constrained machine (512MB that used to be plenty enough for jaunty).
So this is what I see at the bottom of "pmap -d 3334" (firefox-bin's PID):
mapped: 253560K writeable/private: 175508K shared: 988K
This is a not-so-old session with only this single tab. I am not really shocked by the 253MB mapped, but by the 175MB.
I attach the output of the above command, one can see a lot of [ anon ] mappings, don't know whether this is important, here are all the anon lines mapping at least 1MB:

ab000000 51200 rw--- 0000000000000000 000:00000 [ anon ]
ae2ff000 8192 rw--- 0000000000000000 000:00000 [ anon ]
aeb00000 10240 rw--- 0000000000000000 000:00000 [ anon ]
af600000 9216 rw--- 0000000000000000 000:00000 [ anon ]
afffe000 8192 rw--- 0000000000000000 000:00000 [ anon ]
b07ff000 8192 rw--- 0000000000000000 000:00000 [ anon ]
b1000000 12288 rw--- 0000000000000000 000:00000 [ anon ]
b1d00000 9216 rw--- 0000000000000000 000:00000 [ anon ]
b3300000 2048 rw--- 0000000000000000 000:00000 [ anon ]
b3700000 2048 rw--- 0000000000000000 000:00000 [ anon ]
b3900000 1024 rw--- 0000000000000000 000:00000 [ anon ]
b3d00000 1024 rw--- 0000000000000000 000:00000 [ anon ]
b4000000 11264 rw--- 0000000000000000 000:00000 [ anon ]
b4d00000 11264 rw--- 0000000000000000 000:00000 [ anon ]
b58fe000 8192 rw--- 0000000000000000 000:00000 [ anon ]
b60ff000 8192 rw--- 0000000000000000 000:00000 [ anon ]
b6900000 9216 rw--- 0000000000000000 000:00000 [ anon ]
b7400000 1024 rw--- 0000000000000000 000:00000 [ anon ]
b75f2000 1096 rw--- 0000000000000000 000:00000 [ anon ]