Why is my WordPress...
 
Notifications
Clear all

Why is my WordPress website using a constant


(@elias)
Member Moderator
Joined: 6 months ago
Posts: 4273
Topic starter  

Why is my WordPress website using a constant <400MB RAM even when I disable all plugins and use a basic theme on shared hosting?


   
Quote
(@elias)
Member Moderator
Joined: 6 months ago
Posts: 4273
Topic starter  

 a) from php.iniHow do I set memory limit in WordPress?Here's what you need to do:
[list=1]

  • 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 

    wp_memory_limit

     variable. However, this limit may be less than the amount of memory provided with your hosting plan. 


       
    ReplyQuote
    Share: