Hi folks,

On my 64 bit linux machine, git uses a *lot* of virtual memory.

PID  PPID USER     TTY       NI CODE  VIRT  RES SWAP  SHR WCHAN     S
%CPU %MEM   TIME COMMAND
26069 26055 hcs      pts/20     0  860 1406m 9560 1.4g 6784 -
S    0  0.2   0:00 git-fetch
26079 26069 hcs      pts/20     0  200 3456m  40m 3.3g 9880 -
R   32  1.0   0:09 git-index-pack
26114 26055 hcs      pts/20     0  860 2509m  38m 2.4g  17m -
D    5  1.0   0:00 git

Yes, those are gigabytes! (The SWAP column isn't indicative of swap
file usage, it is just the difference between VIRT and RES.)
I suspect most of the virtual memory is unused, simply allocated but
never written. On linux, this doesn't cause much of a problem but
maybe windows actually instantiates physical pages for them.

-- 
Csaba/Jester

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to