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.
That is becuse there isn't enough memory.
With this module you can set so the admin have more memory, that way you can render pages that needs alot of memory but still keep the original php memory limit for other users.

Requirements

Permission to change php memory limit on your webserver.

Configuration

Drupal 7

Go to admin/people/permissions#module-role_memory_limit to set the persmissions.
Go to admin/config/development/role_memory_limit to set the limit for a role.

Project information

Downloads