1

Possible Duplicate:
PHP memory profiling

From what I've found online, all I've seen for tracking memory usage in an PHP application is to use the native "memory_get_usage()" function or buy a commercial product like zend server.

Anybody have some other suggestions? Seems like a good use for Aspect Oriented Programming...

1

1 Answer 1

1

XDebug works great for tracing, profiling, and debugging.

Sign up to request clarification or add additional context in comments.

2 Comments

AFAIK XDebug only does invocation-count and time-based cost profiling, not memory.
If you look at the trace output options, you can get memory usage per-call as well. I've been using it to optimize my autoload code (which, with a few well-placed caches, brought my page load times down an order of magnitude).

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.