摘要: 1、PermGen space的全称是Permanent Generation space,是指内存的永久保存区域OutOfMemoryError: PermGen space从表面上看就是内存益出,解决方法也一定是加大内存。说说为什么会内存益出:这一部分用于存放Class和Meta的信息,Class在被 Load的时候被放入PermGen space区域,它和和存放Instance的Heap区域不同,GC(Garbage Collection)不会在主程序运行期对PermGen space进行清理,所以如果你的APP会LOAD很多CLASS的话,就很可能出现PermGen space错误。这 阅读全文
posted @ 2012-05-31 22:05 yellowxz 阅读(171) 评论(0) 推荐(0)
摘要: 1、停止mysql服务(以管理员身份,在cmd命令行下运行)使用如下命令:net stop mysql2、.使用命令启动mysql数据库,命令如下mysqld - -skip-grant-tables3.新开一个cmd窗口,进行如下命令操作1、mysql -uroot2、update mysql.user set password=password('root') where user='你的密码';如图:4、打开任务管理器,停止mysql,mysqld进程,使用net start mysql启动mysqld服务,就可以使用root用户 root密码进入数据库了 阅读全文
posted @ 2012-05-31 20:23 yellowxz 阅读(171) 评论(0) 推荐(0)