This module is a very lightweight module that logs the peak php memory usage to the watchdog.
When your site is getting memory exhaustion errors this module can help to figure out which pages are getting the memory errors and how much memory they are using.
This functionality can be found in the devel module, however this module gives you the ability to find out this information in a production environment without needing to enable the devel module.
Now with added memcache profiling!
From the 7.x-1.2 and 6.x-1.2 releases, memory_profiler also includes the facility to log the size of objects which Drupal sends to memcache when it does a cache_set.
The main reason you might want to measure the size of what Drupal is sending to memcache is to identify the source of errors like this:
"failed with: SERVER_ERROR object too large for cache"
Because of the different ways cache backends work in D6 and D7, the implementation differs; see README_memcache_profiler.txt for details.
Note that you don't need to enable the memory_profiler module to use the memcache profiling.
Project information
- Module categories: Developer Tools, Performance
- 99 sites report using this module
- Created by timhilliard on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Ready for D11 🍻
Development version: 2.0.x-dev updated 19 Mar 2024 at 18:33 UTC
Development version: 7.x-1.x-dev updated 9 Sep 2014 at 10:37 UTC