Support » Fixing WordPress » Memory size problem

  • Resolved reinard

    (@reinard)


    Get error

    ┬╗Allowed memory size of 94371840 bytes exhausted (tried to allocate 7849803 bytes)┬ź

    on recalling posts from my blog hosted at 1&1. That happens only since some weeks in this blog, not in others hosted also there.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Full response I get is:

    Request with URL:
    http://blog.xxxxxxxxx.de/xmlrpc.php
    and data:
    <?xml version=”1.0″ encoding=”UTF-8″?>
    <methodCall>
    <methodName>metaWeblog.getRecentPosts</methodName>
    <params>
    <param>
    <value><string>1</string></value>
    </param>
    <param>
    <value><string>Reinard</string></value>
    </param>
    <param>
    <value><string>******</string></value>
    </param>
    <param>
    <value><i4>999</i4></value>
    </param>
    </params>
    </methodCall>

    Response:

    <b>Fatal error</b>: Allowed memory size of 94371840 bytes exhausted (tried to allocate 7849803 bytes) in <b>/homepages/xx/xxxxxxxx/wordpress/wp-includes/class-IXR.php</b> on line <b>471</b>

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    1and1 is well known for supplying very little memory in accounts.

    Using FTP you can try increasing the memory for PHP and WordPress in several different ways:

    1) You can edit the memory_limit line in your php.ini (if you have access to that file) to increase memory to 64M:

    memory_limit = 64M;

    2) Try adding the ‘define” line below in your wp-config.php file a few lines of white space below the opening <?php in the file:

    define('WP_MEMORY_LIMIT', '64M');

    If neither of those work, you’re stuck with what they give or you need to upgrade with the. Or move to a new host.

    Thanks, but neither suggestion does the job. BTW: no access to PHP.INI.

    I also think, that this in not the problem. In the same account I have a 2nd WP installation which does not have the problem. The guys at the 1&1 support did not even try to solve the problem. I had to send the docs 3 times. Then they said, everything is ok. on their side…

    Any ideas from that? :

    http://hr-schmitz.de/phpinfo.php

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    That shows 90 megs, which may not be enough for a spike in memory usage when using xmlrpc.php. You may need more than 90 megs memory.

    Exactly. And when 1&1 is not willing to provide it – then I am the looser. Right?

    Moderator Mark Ratledge

    (@songdogtech)

    Forum Moderator

    Right; might be time to change hosts. 1and1 is well known for restrictive accounts. See Recommended WordPress Web Hosting

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Memory size problem’ is closed to new replies.