• Resolved amanna

    (@amanna)


    Greetings all,

    I’m getting the following message when trying to import the export from my WP-hosted blog:

    Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1630212 bytes) in /home/diyretir/public_html/nedruid/wp-admin/import/wordpress.php on line 125

    I’ve searched the support forum and thought I got a hit. The error message was the same and the fix was to edit your php.ini file to increase the memory size. I edited this file on my hoster from 32M to 48M and got the same error message.

    The export file is only 4.9M.

Viewing 3 replies - 1 through 3 (of 3 total)
  • to change the memory limit by including a line such as this at the very top of wp-config.php :

    ini_set("memory_limit","12M");

    you can also make this change permanently for all PHP scripts running on the server by adding a line like this to the server’s php.ini file:

    memory_limit = 12M

    btw, the 12M sets the limit to 12 megabytes (12582912 bytes). if this doesn’t work, keep increasing the memory limit until your script fits or your server squeals for mercy :).

    Thread Starter amanna

    (@amanna)

    Okay – I’m still having problems with this. I’ve tried both approaches, upping the memory allocation to 96M and still getting the error. With an export file that’s only 5M, it’s hard for me to believe that 96M of memory allocation isn’t enough. Are there possible other things I could try?

    Thanks in advance.

    Thread Starter amanna

    (@amanna)

    Okay – problem fixed. I found this post:

    http://techtracer.com/2007/07/18/wordpress-error-allowed-memory-size-of-8388608-bytes/

    Which pointed me to two files which needed updated. Once I got to 48M on both of them, the import worked.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Error with import of WP-Hosted export’ is closed to new replies.