MySQL Forums
Forum List  »  Newbie

Re: Not enough memory to allocate insert buffer of size 1073741824
Posted by: Rick James
Date: August 15, 2014 09:49AM

> the first table, which does have a long text column, but only 302 rows.

SHOW TABLE STATUS (or otherwise find out how bit that table is).
SELECT MAX(LENGTH(the_long_text_col)) FROM first_table; (to get a clue of how big the biggest row is.)

> we got the same error for all tables

Change max_allowed_packet to something significantly smaller, say, 50M. It should probably be bigger than the SELECT, above.

Options: ReplyQuote


Subject
Written By
Posted
Re: Not enough memory to allocate insert buffer of size 1073741824
August 15, 2014 09:49AM


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.