I would like to know if there is a way with PHP5.3 to trace the garbage collector activity like in Java with -verbose:gc command line.
I try to know how often and when the collections occurs.
I’m also interesting about the time spent doing the collections.
It seems that you can activate Garbage Collector benchmarking, recompiling PHP with the
DGC_BENCH=1flag. You’ll obtain statistics like these:It’s not a real trace, but that’s the only thing I could find.