[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: OT: just falling back to fluxbox after Gnome3 mem-leak experince



Peter Viskup:
> 
> viskup@viskup:~$ awk '/Name|VmSize|VmPeak/' /proc/4186/status
> Name:   gnome-shell
> VmPeak:  3537456 kB
> VmSize:  3403068 kB

I am not sure, but I suspect you misinterpret those numbers. This is the
amount of memory that the application thinks is available for itself.
This does not equal the actual memory requirements of the process.

My system currently shows:

$ ps aux | awk '{ print $5 }' | tail -n +2 | awk 'BEGIN {s=0} {s+=$1} END {print s}'
8206540

$ free -k
             total       used       free     shared    buffers     cached
Mem:       3955268    3346440     608828          0     298128    2139064
-/+ buffers/cache:     909248    3046020
Swap:            0          0          0

The sum of all processes' virtual memory sizes is about nine times the
size of actual memory in use (887 MiB vs. 7.8 GiB with only 4GB of
physical RAM available, no swap).

J.
-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
                 <http://www.slowlydownward.com/NODATA/data_enter2.html>

Attachment: signature.asc
Description: Digital signature


Reply to: