NoiseByNorthwest / php-spx

A simple & straight-to-the-point PHP profiling extension with its built-in web UI
GNU General Public License v3.0
2.14k stars 84 forks source link

Add metrics representing the VM size & RSS #139

Closed NoiseByNorthwest closed 4 years ago

NoiseByNorthwest commented 4 years ago

Since they both reprensent the raw memory usage of the process, they could help to detect leaks within components which are directly using the libc allocator or anything else other than Zend MM (i.e. e*alloc).

See here for the description of a concrete case: https://jolicode.com/blog/a-journey-to-find-a-memory-leak