WordPress.org

Forums

Fatal error (10 posts)

  1. aeropete
    Member
    Posted 8 years ago #

    Hi, please help. I tried to install wordpress 2.1, but only thing, which happened is this message:
    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 122880 bytes) in /DISK3/WWW/petrturek.com/web/wp-admin/admin-functions.php on line 518
    Please advice... Thanks a lot

  2. spencerp
    Member
    Posted 8 years ago #

    Have the host up your memory storage limit.. I tried searching for topics on this, but nothing is coming up in the search sigh.. something must be broke with it..

    This has been asked several times before.. someone else around here knows for sure what to do.. we'll just wait for them to post the specifics.. :);)

    spencerp

  3. photographer
    Member
    Posted 8 years ago #

    February 2007

    I've just tried to install the BLOG and got the same error:

    Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 122880 bytes) in /DISK4/WWW/lightimagination.net/www/blog/wp-admin/admin-functions.php on line 518

    ANYBODY found out what to do?

  4. drmike
    Member
    Posted 8 years ago #

    Um, the person right above your post, maybe?

  5. TimoK
    Member
    Posted 8 years ago #

    drmike: While asking the host to up the memory can solve the problem, I think this issue should be taken care of by the WP devs. I am working with PHP for years now and I don't see why a WP admin page should use more than 8MB of memory on the server. I can understand need for more memory when you handle huge files (image manipulation, generation or parsing of large CSV files, Excel sheets, PDFs, etc), but that is usually NOT the case in WP admin pages, so this error MIGHT be a sign of poor programming somewhere in there.

  6. dingfelder
    Member
    Posted 7 years ago #

    my host does not like making changes like this which could increase the server load or decrease overall memory. I think this needs to get addressed by wp

  7. zaifulzin
    Member
    Posted 7 years ago #

    Hi try change your htaccess file in main dir up to 64M or larger then that.For nmore info visit below link.
    http://onlinemarketerz.com/?p=565

  8. MichaelH
    Member
    Posted 7 years ago #

    zaifulzin,

    When putting that statement in .htaccess, shouldn't
    php_value memory_limit 32oooooo

    instead be
    php_value memory_limit 32000000

    or even
    php_value memory_limit 32M

  9. zaifulzin
    Member
    Posted 7 years ago #

    hi Michael

    you can try all of that...just try and error...

  10. Brian Layman
    Member
    Posted 7 years ago #

    Before you have them change all that, just ask them to restart the server. Are you sure you were just doing an install and not instead doing an import?

    Often code can create connections to the database and do things like load a memo field. Many different things can go wrong at that point and the memory that is allocated for the memo field creation is not released.

    That's where I've run into this. My solution was to better bullet proof my code, reduce the size of the default memo field load and to restart apache when I ran out of memory.

    ACK THIS IS A 5 MONTH OLD RESURECTED THREAD. OK, I'm not going to erase all that, BUT people that continue to post should realize this all might be moot now.

Topic Closed

This topic has been closed to new replies.

About this Topic