I'm using Xdebug on a daily basis - but only the debugger part. I tracked down a similar memory issue recently with memory_get_usage() and stepping through the execution with xdebug which is only slightly more convenient than logging the consumed memory.
Hint if you ever want to do this: Add memory_get_usage() as a watched expression in PhpStorm and you'll see the memory usage "live" at each inspected line.
I know the profiler exists, but I have to learn to use it. Thanks for the nudge.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'm using Xdebug on a daily basis - but only the debugger part. I tracked down a similar memory issue recently with
memory_get_usage()
and stepping through the execution with xdebug which is only slightly more convenient than logging the consumed memory.I know the profiler exists, but I have to learn to use it. Thanks for the nudge.