MySQL Forums
Forum List  »  Data Recovery

Re: Restore large database ERROR 5 (HY000)... Out of memory
Posted by: Oli Sennhauser
Date: January 19, 2011 11:14AM

Just a wild guess: max_allowed_packet is probably too big during export/import.

Try to have max_allowed_packet size smaller during export, for example 16 m and if you run into the same error during import set it a bit higher for example 17 m.

I think there were some bugs in this area.

Further I predict, that your restore of 130 Gbyte will take days with just 4 or 6 Gbyte of RAM when you have very big indexes (big = >> RAM).


Options: ReplyQuote

Written By
Re: Restore large database ERROR 5 (HY000)... Out of memory
January 19, 2011 11:14AM

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.