News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Slawek Lukasiewicz's Blog:
PHP application diagnostics - Memtrack
November 08, 2011 @ 12:08:37

Slawek Lukasiewicz has posted about a handy tool that can be used to track memory consumption and performance in your PHP application - memtrack.

Application profiling can help us determine bottlenecks and possible problems during development. But sometimes we also need to diagnose problems in production environment. Frequent performance problems are connected with functions and methods using too much memory.

The tool allows you to set up thresholds for memory consumption and, if the scripts exceeds it, add warnings to your log files. He includes the simple instructions to install it (via PECL) and enable it in your php.ini. Some sample code to create a memory overvload is included to test it out. Configuration options let you set the limits and define functions to ignore if you know for sure there's trouble spots.

0 comments voice your opinion now!
memtrack extension diagnostic limit warning


blog comments powered by Disqus

Similar Posts

Christian Stocker\'s Blog: PHP 5, OS X, fink and iconv

DevShed: Sanitizing Strings with Filters in PHP 5

Clay Loveless' Blog: Monitor PHP Extension Releases with Y! Pipes

Community News: Eclipse PDT Bug Day (May 30th)

Chris Hartjes' Blog: How Easy Are Web Services in CakePHP 1.2? Really Easy!


Community Events











Don't see your event here?
Let us know!


introduction component application hack podcast opinion facebook install release symfony2 package hhvm series performance framework language unittest composer database security

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework