WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. B_Dark
    Member
    Posted 1 year 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?

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

  2. arturocivit
    Member
    Posted 1 year ago #

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

  3. mikeotgaar
    Member
    Posted 1 year 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
    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

  4. WebTechGlobal
    Member
    Posted 1 year 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

About this Topic