Summary

Role memory limit is a small module that allow you to set php_memory_limit per role and command line usage (drush).

Example of usage

Lets say your php memory limit is set to 128mb and your site has a lot of blocks and you try to get into block listing page and Drupal crashes.

With this module you can set so the admin has more memory, that way you can render pages that needs a-lot of memory, but still keep the original php memory limit for other users.

Requirements

Permission to change php memory limit on your web server.

Configuration

Drupal 8+

Goto /admin/config/system/role-memory-limit to configure memory limits per role.

Drupal 7

Goto admin/people/permissions#module-role_memory_limit to set the permissions.

Goto admin/config/development/role_memory_limit to set the limit for a role.

Project information

Releases