VmSize : Regarding /proc/<pid>/status
As far as i know, VmSize is the Virtual memory usage of the entire process
VmSize = VmLib + VmExe + VmData +VmStk
We have only four segments(code, data, heap, stack) and VmSize include all of them.
Code and data segment:
VmLib = VM usage of dynamically linked libraries
VmExe =VM usage of exe's and statically linked libraries
VmData = VM usage of heap.
VmStk = VM usage of stack.
But in the below given example VmSize >> VmLib + VmExe + VmData +VmStk
what does that indicate?
bash-2.05b# cat /proc/16108/status
State: S (sleeping)
Uid: 0 0 0 0
Gid: 0 0 0 0
Groups: 0 1 2 3 4 6 10
VmSize: 4156 kB
VmLck: 0 kB
VmRSS: 4 kB
VmData: 108 kB
VmStk: 24 kB
VmExe: 592 kB
VmLib: 1312 kB
Can nyone tell me the links from where i can get proper info about memory profiling and memory limiting??
thanks in advance,