• 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 - 16 through 30 (of 35 total)
  • thanks jonradio – so what is the code to increase the memory in wordpress because it seems every time i am adding this code it crashed completely my site ??
    I am doing exactly this wiki https://codex.www.ads-software.com/Editing_wp-config.php#Increasing_memory_allocated_to_PHP but not working – does it mean i am placing the code in the wrong place?

    PHP only allows ‘ and ” as quotation marks. You used ‘

    As the page says,
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );
    is correct.

    Please try cutting and pasting this, rather than hand-typing.

    On the other hand, you may be using word processing software instead of a text editor, and it may be automatically altering your quotation marks.

    ok i will try thanks. where do you place the code just after?
    <?php

    No, here is what I would recommend.

    Look for the statement that says:
    /* That's all, stop editing! Happy blogging. */

    Replace it by cutting and pasting this:

    define( 'WP_MAX_MEMORY_LIMIT', '256M' );
    /* That's all, stop editing! Happy blogging. */

    thanks – I did it – I don’t think there is any changes – i run the plugin memory usage and it says WordPress Memory limit is: 40m

    OK, I just checked. You are using DreamHost. And you said you are using VPS.

    Things may have changed in two years, but back then I could never get DreamHost VPS to work properly with WordPress during periods of lots of visitors without buying a very high memory limit, which I couldn’t afford.

    On the other hand, DreamHost support is very helpful, and have WordPress experts on staff. So, I would suggest telling them that you cannot figure out how to overcome this 40MB WordPress memory limit that you are seeing (tell them which plugin you are using to tell you that).

    As I said above, 128MB is tight with some plugins, especially in Admin panels.

    oh my, thank you so much for your below comment – i do believe Dreamhost still has serious problem with wordpress in 2014! – again i just sent them a ticket- they are always pushing me to increase the memory on the vps – starting to cost me as well a small fortune – i am thinking that i am going to change the hosting – i am so angry right now!

    But Jonradio I would like to thank you so much for your support today and quick responses – I feel less alone with my problems – so thanks again! ??

    Recommendations of Hosting Companies is frowned on in these forums, as it too often turns into an emotional argument like you hear between those who like Apple smartphones v.s. those who like Android-based smartphones.

    But I don’t think I am out of line to say that VPS is not the right choice for WordPress if you are not a real expert in Linux and Apache or whatever operating system/web server is being used. Decent Linux-based Shared Hosting is much more affordable for many times more memory than VPS. Finding a reliable Shared Hosting service is fairly easy, so long as you are not looking for 99.99% up-time.

    any recommendations for a strong and fast sharing hosting service? as I am not (obviously) an expert in coding but i have a pro site which needs to be run smoothly and fast for my clients.

    As I say, answering that here is not recommended, so please contact me off-line

    After all this, it now looks like there is a plugin causing the 10,000+ e-mails reading “High memory usage notification”. See this thread (and others) for details:
    https://www.ads-software.com/support/topic/19-emails-in-2-minutes?replies=1

    I don’t think this plugin is the problem tho. After all, it does just what it’s supposed to do. Notify the user when there is a high memory usage.

    Send e-mail notification if memory usage reaches threshold setting

    https://www.ads-software.com/plugins/tpc-memory-usage/

    You may be right, znuffn, but, in my experience, VPS environments like this are fairly load-sensitive, and generating 10,000 e-mails in a short period of time is certainly going to increase load significantly.

    As they say, worth a try (deactivating the plugin).

    WordPress 3.9, 4.0
    Increse memory using a custome php.ini but inside wp-admin.

    Hi

    I am having similar problems – but not exactly (yet).

    On my Woocommerce system status it shows that I only have 40MB, and should increase it to 64MB at least. Tried the link given, but can not alter the text. Where/how can I increase the PHP memory limit on WP. I have asked my host (Dreamhost) and am told that the default is set at 90MB so I should have no problem.

    I have read many suggestions on the forum, but still do not know where to start.

    Any suggestions will be excellent. Thank you.

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