PHP MEMORY (3 posts)

  1. dalewood
    Posted 4 years ago #

    I am getting the following error message which I believe are to do with php memory

    Fatal error: Out of memory (allocated 30932992) (tried to allocate 22932 bytes) in /homepages/26/d109605530/htdocs/Showstopper/wp-includes/functions.php on line 1038

    Currently I am with 1and1 service providor, although changing to Bluehost I am stuck with 1and1 until I pluck up courage to transfer my blog.

    Does anyone have any knowledge/experience around increasing php memory, particularly in relation to 1and1?
    If anyone has a foolproof method of transfering a blog intact, again it would be appreciated.

    Thank you in anticipation


  2. hnejjar
    Posted 4 years ago #


    You can try moving some unused pluging.


  3. MickeyRoush
    Posted 4 years ago #

    Though I'm not sure what happened before you go the error, like activating a plugin, you can try this. You'll need to edit your wp-config.php file and create two php.ini files.

    In your wp-config.php file add the following:
    define('WP_MEMORY_LIMIT', '64M');

    I would make it the first define in the file, above define('DB_NAME', 'database_name_here');
    Increase the number from 64 to something higher if necessary.

    You'll need to create a php.ini file (create blank file in Notepad and save as php.ini) for your root and one to be placed in wp-admin. Place the following in both. Again you can change the memory limit to a higher number if necessary.

    max_execution_time = 60
    max_input_time = 60
    memory_limit = 64M

    If that doesn't work trying doing like hnejjar suggested.

Topic Closed

This topic has been closed to new replies.

About this Topic