Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
3 months 2 weeks ago #2262 by Elias Katsaniotis,MSc
Why is my WordPress website using a constant <400MB RAM even when I disable all plugins and use a basic theme on shared hosting?
Less More -
Posts: 4306
-
Thank you received: 0
-
-
-
3 months 2 weeks ago #2263 by Elias Katsaniotis,MSc
a) from php.iniHow do I set memory limit in WordPress?
Here's what you need to do:- Locate or find your php. ini file. ...
- Use your favorite editor to open and edit your php. ini file.
- Look for the line that says 'memory limit = 32M'.
- Change the 32M or some other number to the desired limit (e.g. 256M or 512M).
- Restart your localhost or server after saving your changes.
b)
Edit wp-config.php and increase wp_memory_limitIf you’re running low on memory, there’s a simple solution: increase the amount of memory you have access to! WordPress lets you set the current memory limit in its
wp-config.php
file
via the
variable. However, this limit may be less than the amount of memory provided with your hosting plan.
- Q&A
- Index
- WordPress
- Why is my WordPress website using a constant <400MB RAM ?
Time to create page: 0.130 seconds