php-meminfo
php-meminfo copied to clipboard
PHP extension to get insight about memory usage
Making the extension available on pecl would make installation even easier, as it would be a oneliner
Hi there, I allowed myself to continue the work started in #56 by @oliverde8 by adding the suggestions from @BitOne
A source of (perceived) memory leaks will be circular references (especially to objects) that haven't been picked up by the GC yet. `php-meminfo` should provide insight into objects that aren't...
Attempting to hunt down a memory leak using the following code: ```phpw meminfo_dump(fopen('before.json', 'w')); echo gc_collect_cycles(); meminfo_dump(fopen('after.json', 'w')); ``` Now I can't easily compare those two files. A diff command...
Hi, i have tried to use your extension for profile the memory consuption on my pthreads project, but i receive a segfault. Have you tested php-meminfo with pthreads?
Looks like `meminfo_dump` itself causes unreported memory leaks. Background: I tried to trace back a memory leak to a suspected XMLDom issue by running a method call in a loop,...
To speed up debugging, a analyzer could try to find the heaviest objects (including it's children), or the heaviest tree path in the objects dependency graph.
Added sorters on the summary command to sort columns by asc or desc. TODO: specs
Hi, First thanks for this tool, it really is awesome. I found myself comparing 2 dump on a few occasions and trying to see where I am leaking. So I...