WordPress Importer
Fatal error: Out of memory (4 posts)

  1. B_Dark
    Posted 3 years ago #

    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?


  2. arturocivit
    Posted 3 years ago #

    Exactly same problem, any idea? my file size is 38Mb and my max upload size is 50Mb

  3. mikeotgaar
    Posted 3 years ago #

    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

    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

  4. WebTechGlobal
    Posted 3 years ago #

    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 ;)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress Importer
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic