Separate memory limit setting for admin users vs regular visitors
Can you add a separate memory limit for admin users in the PHP Settings tab? I have sites that use lots of custom post types &. fields. Admin users typically run into performance issues when working in the back end.
I hate to increase memory for everyone and I am afraid to do anything custom in wp-config because I don't want to break anything.
If I could specify a larger memory for logged in admins like:
if ( currentusercan( 'administrator' ) ) {
define( 'WPMEMORYLIMIT', '256M' ); // Higher limit for admins
} else {
define( 'WPMEMORYLIMIT', '64M' ); // Lower limit for regular visitors
}
it would be a big help. Just add the admin memory limit below the general memory limit & let autonomous handle the actual config files.
Otherwise, this is a great platform.
-
Josh Shankowsky commented
Its pretty sad when you want to work on the back end and even a page crashes. I have already begun working on changing hosts because of this. Plus Cloudways customer service is meh to say the least
-
Leah Mills commented
Hi — that’s a great suggestion! Currently, WordPress applies the same memory limit for all users, so customizing it per role requires either manual code in wp-config.php or a plugin that handles role-based memory allocation. Your example snippet is the right approach. Adding a separate admin memory limit in the PHP Settings tab would be very helpful for sites with heavy back-end usage — hopefully the platform team can implement this feature soon.
-
Thomas Anderson commented
Great suggestion — this would really help sites with heavy admin workflows. A separate memory limit for administrators would optimize backend performance without wasting resources on front-end visitors. A simple toggle or field in PHP Settings (e.g., “Admin Memory Limit”) could handle this safely without manual wp-config edits.
-
Mr jon commented
That’s a really smart suggestion — setting a higher PHP memory limit just for admins would definitely improve backend performance on sites with lots of custom post types or fields. It’s always a balance between stability and resource use.
I’ve also dealt with similar configuration issues when managing online tools and dashboards. Having a clean, easy-to-follow interface like the one explained at https://cekbansosonline.com/
really shows how much clarity matters when managing technical settings. You can click here
to see how organized layouts make complex systems simpler for end users.