Closed elebumm closed 7 years ago
Hi there,
how big is your big database? That's look like a good old out of memory; the default SqlAdapter in Wordmove allocates all the sql dump in memory at a time. Someway it's a weak writing code approach and there a are alternative techniques.
Unfortunately this is not am immediate fix, but should require refactor all the SqlAdapter::Default class; I cannot do it enough early to let you test something.
Anyway, with the last version we have shipped an alternative SqlAdapter; you can read more about it here. In order to use it you have to:
Let me know if this approach helps :)
Ok, I fixed my problem. I am using VVV on my local machine and I am ssh'd on my local machine. I backed out of my VM and did a vagrant reload
and it fixed my issue. Strange. Thanks for the help @pioneerskies
I am trying to push a large database on to the server but I get this error
/usr/local/rvm/gems/ruby-2.4.0/gems/wordmove-2.0.2/lib/wordmove/sql_adapter.rb:44:in
gsub!': failed to allocate memory (NoMemoryError)`I am unsure how to fix this. Is this something wrong with Wordmove or is it something on my part?
Here is the Movefile: