Was trying to import an xml into a VVV site from a live site. 2,995 posts. WP-CLI would do ~150 at most before being killed. Only thing that seemed to help was toggling xdebug on and off, otherwise it was being killed right after the ‘Starting import’ message. Tried WP Importer, but it kept telling me the page at ?import=wordpress&step=2 was not available. phpinfo shows the error log is at /tmp/php_errors.log and there is nothing there. Tried with multiple exports, not just the one.
Upped the limit to 1G and tried again. Killed while ‘Starting the import process’
Same with 2G.
I was only changing PHP memory. The real issue was with the virtual machine. Changed it in VirtualBox only to have it revert back to 512 after bringing vagrant back up. Had to change it in the vagrant file. So damn simple. I should’ve reached out for help earlier, but felt I needed to try everything I could before doing so. A lot of wasted time.