Categories
木有技术

mysqld.exe 内存占用高 达 400M 的解决方法

http://www.debugease.com/mysql/3404188.html

  1. mysqld.exe 内存占用达 400M 这是很正常的啊!mysqld默认需要部分内存,还有你在my.ini配置的各种缓存,例如:
    innodb_buffer_pool_size=107M
    innodb_log_file_size=18M
    innodb_log_buffer_size=2M

     

  2.  
    哈哈,这个好解决哈,
    paip.mysql 5.6 数据库 占用 内存 过多 的 解决方案
    下载了mysql5.6.12 ,默认占用内存达400多M,  而原来使用的5.0 只有30M..
    解决方案:调整以下参数
    —————-
    performance_schema_max_table_instances=600
    table_definition_cache=400
    table_open_cache=256
    这样下来,mysql5.6.12就只使用  40—60M左右的内存了.

 
 
附注:mysql 5.6.x的配置文件目录,应该在安装目录的根目录下,反正文件名是my.ini,是在不想到安装的分区搜索下肯定有啦。
另外更改结束后不能忘记重启服务哦!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.