• Resolved gugutz

    (@gugutz)


    Hello, i own TavernaDigital.net and it was working flawlessly until yesterday.

    I started getting this error:

    Fatal error: Allowed memory size of 94371840 bytes exhausted (tried to allocate 491520 bytes) in /home/gugutz/tavernadigital.net/wp-admin/includes/class-wp-posts-list-table.php on line 1048

    Now i understand that this is because memory exceeded, right?
    But how come did this happen all of a sudden?

    I didn´t install any new plugins, i didn´t do anything that would require more memory, only added more drafts and posts.

    After i started getting the error i updated wordpress to 3.5.2 but nothing changed.

    Its also good to point out that the site is actually a network of sites, with 2 subdomain sites on it.

    I wanted to solve this without increasing the memory limit, because my site is already a little slower than i´d like it to be, increasing the memory limit would make it slower.

    Is there any workaround on this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Scott M

    (@scott_mcmillan)

    Hi,
    Please see:
    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    Would recommend moving up to 120 to see if that solves it yours is set at 90 MB right now.

    Thread Starter gugutz

    (@gugutz)

    K guess i´ll have to try it anyways.

    But it makes me wonder what could have caused a higher requirement of memory usage.

    I didn´t do anything new on my network.

    Gonna try it and post here later.
    Thanks, bro.

    Thread Starter gugutz

    (@gugutz)

    I tried adding define(‘WP_MEMORY_LIMIT’, ‘110M’); in wp-config.php, but still getting the error.

    Also tried adding a php.ini on the root of my server via FTP and adding the line memory_limit = 110M to it, but that did no good at all.

    Am i missing something?

    Thread Starter gugutz

    (@gugutz)

    Still getting this error.
    Dreamhost won´t give me support on this one.

    Could someone shed a light for me?

    Mika Epstein

    (@ipstenu-dh)

    DreamHost Rep

    Looking at your support ticket, I see we gave you directions on how to make a .phprc file

    http://wiki.dreamhost.com/PHP.ini#PHP_5.3

    It’s actually NOT a php.ini if you’re on PHP 5.3 or higher, that codex title is a hold over from the PHP 5.2 days.

    I looked in your ~/.php folder and I see you made a 5.3 folder and a phprc file correctly.

    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300
    memory_limit = 110M

    Are you still having problems? Have you done the usual tests of turning off all your plugins? You have a LOT of plugins, many of which are out of date, including BuddyPress, which sometimes can suck up all your memory and spit it back out again 🙁

    You may need to consider scaling back your site (cleaning out plugins you don’t NEED), or upgrading to a VPS at this point. If you find you’re increasing the memory a large amount, it’s time to consider moving off of shared hosting, as your website has greater needs that shared can reliably provide.

    Thread Starter gugutz

    (@gugutz)

    Yeah i fixed my errors, was about to post here to finish the topic.

    When i said dreamhost won´t give me support i was meaning to the actual procedure, but you guys did send me the link to the page that helped me fix it.

    After i made the folders .php/5.3/ and created the phprc file everything went back to normal.

    Thanks for your help. 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Suddently getting memory error on admin tasks’ is closed to new replies.