arnaud-lb / php-memory-profiler

Memory profiler for PHP. Helps finding memory leaks in PHP scripts.
MIT License
858 stars 51 forks source link

pprof is not working #89

Closed momox-maxim closed 1 year ago

momox-maxim commented 1 year ago

Description

Hello, I have tried the following code:

pprof --web memprofoutputgrind1501897
pprof --gv memprofoutputgrind1501897

Resulted in this output:

root@598c0e0bc2ca:/var/www# pprof --web memprofoutputgrind1501897
memprofoutputgrind1501897: parsing profile: unrecognized profile format
pprof: failed to fetch any source profiles
root@598c0e0bc2ca:/var/www# pprof --gv memprofoutputgrind1501897
memprofoutputgrind1501897: parsing profile: unrecognized profile format
pprof: failed to fetch any source profiles

But I expected this output instead: as from the README.md in https://github.com/arnaud-lb/php-memory-profiler#memprof_dump_pprofresource-stream

php-memprof Version

3.0.2

PHP Version

PHP 8.2.3 (cli)

Operating System

docker

arnaud-lb commented 1 year ago

Duplicate of https://github.com/arnaud-lb/php-memory-profiler/issues/83