• Resolved maximmmus

    (@maximmmus)


    Hello!

    I am getting this error message when trying to update the feed database. I tried to fix the memory limit in the wp-config php file with define( ‘WP_MAX_MEMORY_LIMIT’, ‘256M’ ); This made no changes.

    Any ideea what to do?
    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Maybe your hosting account won’t allow you to go over that 64 MB limit of memory usage ? You should ask your web host if that is the case, and if they can make an exception on your demand (hopefully, they will).

    Thread Starter maximmmus

    (@maximmmus)

    Thanks for your quick response.
    Actually I have contacted my hosting provider previously and they have told me to come here to wp forums for help as they cannot help me with this. btw…I have 1024MB RAM on my hosting.

    1 GB of RAM ? Please tell me you’re not on shared hosting, or I’ll be abominably jealous of what shared hosting has become, compared to my old days 😀

    If you’re on shared hosting, you could try creating a phpinfo page (I’ll let you search for the term if needed) and ftp-upload it somewhere within your blog, open it in your web browser, and search for the term “memory_limit”, to see if it’s still indeed 64 MB. If yes, then you’ll have to ask again your web host where you can adjust it.

    If you’re on a VPS or dedi, then maybe the RAM usage limitations have to be adjusted in your hosting account’s php.ini file. Unless your hosting panel allows you to adjust it cutely on some administration page. I coudln’t know.

    Thread Starter maximmmus

    (@maximmmus)

    It is a shared hosting with 1024MB memory usage (physical memory).
    OK I made the phpinfo page and the php memory_limit is set to 64MB.

    I can’t find any php.ini file in my hosting. Maybe this is the issue?

    If it’s shared hosting and you’re limited to less than the total, then you should come back to your web host and ask them what to do, I believe…

    Unless you webhost will let you put your own PHP.INI files in the directory (have them give you a copy of the server’s), then they need to raise the memory limit in the server’s PHP.INI file.

    The phpinfo page tells you where it’s getting the php.ini file from on the Loaded Configuration File line.

    Mine is set to 128M.

    Oh, I’m coming back to the thread. I was distracted and made a very severe confusion between total RAM (your gigabyte) and “allowed for PHP” RAM (your 64 megabytes). It’s normal that the latter is smaller. I’m sorry.
    For the rest, as MarkRH wrote 🙂

    Thread Starter maximmmus

    (@maximmmus)

    Thanks guys. I have changed the 64M php memory by creating a php5.ini file with a memory_limit of 128M.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Fatal error: Allowed memory size of 67108864 bytes exhausted’ is closed to new replies.