I’m in the process of testing Ghost (locally) with content migrated from a live Wordpress site.
All is working well for both Ghost (local) and Wordpress (local).
I have downloaded the rather large db ~250mb and assets ~20GB. Importing into my local Wordpress has worked (using Local App - very impressed how simple this was).
I’ve cleaned up a few posts, removed the old tags and changed categories into tags.
Now I’m up to the process of exporting from Wordpress to Ghost using the Ghost migration plugin for Wordpress.
The error I receive when trying to export the JSON is as follows;
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /Users/shawnsmith/Sites/trizonelocal/app/public/wp-includes/meta.php on line 1190
I had 109k posts and the ghost export plugin was failing. I even increased the memory limit to 1G, and max_execution_time to 180 seconds. Still failed.
Tried the migrate CLI tool. After some time, this error was shown:
FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[55578:0x120008000] 279922 ms: Scavenge 2029.8 (2081.8) -> 2024.0 (2082.5) MB, 4.8 / 0.0 ms (average mu = 0.551, current mu = 0.418) allocation failure;
[55578:0x120008000] 279936 ms: Scavenge 2030.7 (2082.5) -> 2025.1 (2083.8) MB, 4.9 / 0.0 ms (average mu = 0.551, current mu = 0.418) allocation failure;
[55578:0x120008000] 281023 ms: Scavenge 2031.7 (2083.8) -> 2026.0 (2100.0) MB, 1075.7 / 0.0 ms (average mu = 0.551, current mu = 0.418) allocation failure;