Support » Plugin: WordPress Importer » [Plugin: WordPress Importer] Fatal error: Out of memory

  • I am trying to import the export xml file(18mb) from a single site with the plugin “wordpress importer” to the multisite (Choose a file from your computer: (Maximum size: 60MB)) and after the upload, it shows me again this msg’s:

    Fatal error: Out of memory (allocated 69206016) (tried to allocate 32 bytes) in /home/*/public_html/wp-content/plugins/wordpress-importer/parsers.php on line 154

    Fatal error: Out of memory (allocated 69206016) (tried to allocate 227 bytes) in /home/*/public_html/wp-content/plugins/wordpress-importer/parsers.php on line 144

    Fatal error: Out of memory (allocated 26476544) (tried to allocate 76 bytes) in /home/*/public_html/wp-content/plugins/wordpress-importer/parsers.php on line 167

    What is happening? How can I fix it?

    http://wordpress.org/extend/plugins/wordpress-importer/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Exactly same problem, any idea? my file size is 38Mb and my max upload size is 50Mb

    I know these reports are old – the answer is for any reader finding this issue since then 🙂

    It’s a PHP memory issue
    You need to increase memory limit

    One way is in wp-config
    http://codex.wordpress.org/Editing_wp-config.php#Increasing_memory_allocated_to_PHP

    If this doesn’t work, the you need to change it in php.ini (found in root folder for website).
    NOTE: If you’re using shared hosting you may need to ask your hosting company to do this.

    Set it to 128MB, don’t waste time with 98MB or whatever – 128MB should be enough for almost any WordPress site

    If you cannot change your memory try Easy CSV Importer. It allows you to create posts in groups of 1000, 50000 or even 99000. A few clicks and most people can get the job done 😉

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: WordPress Importer] Fatal error: Out of memory’ is closed to new replies.