Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Memory profiler

Security covered Under active development 101 sites

This module logs peak PHP memory usage and the size of objects sent to memcache to the watchdog. It helps identify pages causing memory exhaustion errors and troubleshoot "object too large for cache" issues in a production environment without needing to enable the Devel module.

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.

Ask your assistant about Memory profiler

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Jan 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0-beta2 Pre-release 9–11 Mar 19, 2024
2.0.0-beta1 Pre-release 9–10 Jan 10, 2024
2.0.x-dev Dev 9–11 Jan 10, 2024