• Since I updated to the new WordPress 3.9, I have had no content on my website. It is telling me under System Report that “WP Memory Limit: 40 MB – We recommend setting memory to at least 64MB. See: Increasing memory allocated to PHP”

    How do I do that? I haven’t been able to figure it out at all. Thank you for any help!

Viewing 15 replies - 1 through 15 (of 35 total)
  • Thread Starter puravida643

    (@puravida643)

    Thank you, I did go there, but wasn’t able to make any changes…

    Three years ago, MichaelH gave the then-definitive answer to Memory issues, and was frequently quoted at the time:

    1. If you have access to your PHP.ini file, change the line in PHP.ini
    If your line shows 32M try 64M:
    memory_limit = 64M ; Maximum amount of memory a script may consume (64MB)

    2. If you don’t have access to PHP.ini try adding this to an .htaccess file:
    php_value memory_limit 64M

    3. Try adding this line to your wp-config.php file:
    Increasing memory allocated to PHP
    define(‘WP_MEMORY_LIMIT’, ’64M’);

    4. Talk to your host.

    These days, even 128MB can be “tight” as plugins, themes and WordPress itself keep growing.

    Thread Starter puravida643

    (@puravida643)

    Thank you! Do I have to go to cpanel to make these changes? I spoke with the host and they seem to think it is an issue with wordpress, not them….

    What you can do in cPanel depends on how your host has set it up. Generally, though, you can modify php.ini from there. And you can certainly modify .htaccess from its File Manager.

    hi,

    I checked the htaccess, and the wp-config.php I can’t see the memory line – so I added manually in the wp-config.php (anywhere) define(‘WP_MEMORY_LIMIT’, ’64M’); it completely crashed my site so I removed it – to double checked I installed a plugin to check the memory it says the WordPress memory is 40mb – but i can’t see it. I would like to increase WordPress memory my site is running really slow – also i contacted my host and apparently the php memory is 512m but the site is still crashing with an error message – I’m running the latest WordPress version. 3.9

    I don’t understand where exactly to add the code for the wordpress memory inside of the wp-content.php or where else. any help? thanks

    how do i fix this? email from WordPress: High memory usage notification

    WordPress memory usage exceeded 32 MB
    WordPress peak memory usage: 130.71 MB
    Number of database queries: 216

    Thread Starter puravida643

    (@puravida643)

    I wish I could help frederiquebros. Our site crashed too, we are getting a new hosting package with more memory to see if that is it. I too am using the newest word press.

    @frederiquebros, when you added define('WP_MEMORY_LIMIT', '64M'); to your wp-config.php` file and it crashed your site, what error message did you receive?

    By the way, did you contact your host and asked them what the current PHP memory limit is set to?

    @znuffn, I received the message: no data received both when i try to open my dashbord or my site https://www.womenlovetech.com
    – i also deactivated most of my plugins to reboost it – nothing – I received over 10200 emails from WordPress: High memory usage notification: WordPress memory usage exceeded 32 MB
    WordPress peak memory usage: 131.57 MB
    Number of database queries: 216

    How do i increase WordPress memory? with which code, and more important where exactly on the wp-content.php?

    I am in panic mode – my clients start to complained and I can’t work.
    Also my site in on vps – and apparently the php memory is 518mb – i do believe it’s a worpdress problem – i just don’t know how to fix it – this is urgent ??

    I received over 10200 emails from WordPress: High memory usage notification

    WordPress does not send out any notification emails. These must have come from your hosts.

    yes i just checked with my host – im using a vps server and increased the memory – iam now reboosting all – but i still would like to know how to increase wordpress memory to at least 64mb – any idea?

    thanks esmi i added this line in wp-content.php define( ‘WP_MEMORY_LIMIT’, ‘256M’ );

    and my site crashed with this message: Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/frederiquebros/womenlovetech.com/wp-config.php on line 13

    what do i do wrong?

    ‘256M' is not right. The opening “mark” is not a single quote as the closing one is.

Viewing 15 replies - 1 through 15 (of 35 total)
  • The topic ‘Increasing memory allocated to PHP’ is closed to new replies.