Out of memory mysql was aborted
The main problem most of the time is buffer_pool_size, key_buffer_size , etc in My.cnf
This in depth post from @RolandoMySQLDBA should solve your problem:  

Why does MySQL say I&#39;m out of memory?