MySQL Forums
Forum List  »  Performance

Re: Service Keeps Crashing - Got An Error Reading Communication Packets
Posted by: Rick James
Date: September 24, 2010 10:48PM

Out of memory (Needed 524254 bytes)' -->
The Operating system limits how much RAM it will give to any one process. MySQL is trying to exceed that.

Plan A: Change the setting in the OS.

Plan B: Decrease the biggest setting in MySQL so that it will fit:

These are probably excessive:
query_cache_limit=128M -- 10M
query_cache_size=128M -- 10M
max_connections=500 -- 30

This could be decreased:
key_buffer_size=256M -- 50M

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Service Keeps Crashing - Got An Error Reading Communication Packets
1442
September 24, 2010 10:48PM


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.