Media Import gives out of memory error
-
I am trying to import media from a WordPress.com blog to a self-hosted version of WordPress. I’ve been able to import the content, but I can’t get the media. It imports the first seven files then stops with:
“Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 252968960 bytes) in /bns/wmdh/wmdh/onethousandpulses/wp-includes/class-http.php on line 1078”
I have increased memory_limit in php.ini to 1000M.
I have added “define(‘WP_MEMORY_LIMIT’, ‘1000M’);” to the start of wp-config.php, but I get the same error.
I even tried adding “ini_set(”memory_limit”,”16M”);” to the start of wp-config.php, that didn’t fix anything.Since it’s WordPress.com, I can’t use FTP to get the media off the server. Are there any alternate methods for a mass move? I know we could link to the old site, but the owner does not want to keep it running after it’s transferred.
- The topic ‘Media Import gives out of memory error’ is closed to new replies.