Possible Dupl开发者_StackOverflow中文版icate:
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...
XDebug works great for tracing, profiling, and debugging.
精彩评论