Module Description
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.
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.
Module Link
Project Usage
65
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Role memory limit module solves the issue of setting php_memory_limit per role and command line usage in Drupal, allowing for more memory allocation for specific roles to prevent crashes and improve performance.
Data Name
role_memory_limit