Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
en:memory [2018/02/05 11:25]
Quentin LE BOULC'H
en:memory [2018/02/05 11:28] (current)
Quentin LE BOULC'H
Line 11: Line 11:
 </​code>​ </​code>​
 Since part of the memory is shared, many processes may use it, so if you add up all of the RSS values you can easily end up with more space than your system has.\\ Since part of the memory is shared, many processes may use it, so if you add up all of the RSS values you can easily end up with more space than your system has.\\
-There is also PSS (proportional set size). This is a newer measure which tracks the shared memory as a proportion used by the current process. So if there were two processes using the same shared library from before:\\+ 
 +PSS (proportional set size) is a newer measure which tracks the shared memory as a proportion used by the current process. So if there were two processes using the same shared library from before:\\
 PSS: 400K + (1000K/2) + 100K = 400K + 500K + 100K = 1000K\\ PSS: 400K + (1000K/2) + 100K = 400K + 500K + 100K = 1000K\\
 Threads all share the same address space, so the RSS, VSZ and PSS for each thread is identical to all of the other threads in the process. Use ps or top to view this information in linux/unix. Threads all share the same address space, so the RSS, VSZ and PSS for each thread is identical to all of the other threads in the process. Use ps or top to view this information in linux/unix.
  
  
  • en/memory.txt
  • Last modified: 2018/02/05 11:28
  • by Quentin LE BOULC'H