2.4k questions

2.4k answers

94.1k users

7 Online Users
0 Member 7 Guest
Today Visits : 1481
Yesterday Visits : 1590
Total Visits : 2290517

Categories

Notice

Dear All, These are my answers from Quora and primarily Google; please check the answer and from others sites; the answers are free and without any liability.To make a decision, write down all of the positives and negatives on a piece of paper.Thank you,

Elias Katsaniotis, MSc

Information

Viktoria Katsanioti,

Kaliningrad,

Russia,

matizegr@yahoo.com

0 votes
41 views
Why is my WordPress website using a constant <400MB RAM even when I disable all plugins and use a basic theme on shared hosting?
in WordPress by (95.0k points)

1 Answer

0 votes

You can set memory limits

a) from php.ini

How do I set memory limit in WordPress?

Here's what you need to do:

  1. Locate or find your php. ini file. ...
  2. Use your favorite editor to open and edit your php. ini file.
  3. Look for the line that says 'memory limit = 32M'.
  4. Change the 32M or some other number to the desired limit (e.g. 256M or 512M).
  5. Restart your localhost or server after saving your changes.

b) Edit wp-config.php and increase wp_memory_limit

If 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.

by (95.0k points)
...