(2023) MySQL client ran out of memory怎么解决 (linux 内存溢出了)

错误编号:2023

  问题分析:

  MySQL client ran

out of memory

错误指向了MySQL客户mysql。这个错误的原因很简单,

内存泄漏

,直到耗尽内存,客户没有足够的内存存储全部结果。

  解决方法:

  释放占用的内存。

  

run out of 意为“用完”,主语只能是人。

例句:

He has run out of red ink.

他的红墨水用完了。

We run out of coal, and had to burn wood.

我们的煤用完了,所以不得不烧柴。

If we run out of money, we can sell some of the products in Guangzhou.

如果我们的钱用完了,可以在广州卖掉一些产品。

mysql的客户端出现了内存溢出,我建议使用mysql的可视化的sqlyog,以及mysql自己的doc模式

cmd下mysql -uroot -p1234

在linux下的mysql 出现内存溢出 ,应该select 语句的时候 用limit offset

或者 将my.cnf中的

max_heap_table_size 修改成更大的空间,并且重启 client客户端。

相关问题拓展阅读:

    linux 内存溢出了的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于linux 内存溢出了,(2023) MySQL client ran out of memory怎么解决的信息别忘了在本站进行查找喔。


    数据运维技术 » (2023) MySQL client ran out of memory怎么解决 (linux 内存溢出了)