TOMCAT内存溢出问题Exception in thread ""http-bio-8080"-exec-6等等

Tomcat启动之后会出现http-bio-8080"-exec-6等等的异常,但是显然的提示信息当中不是程序的问题,

那么就应该想到是环境的问题

 Tomcat7启动后,后台抛出如下异常,前台一直无法登陆
Exception in thread ""http-bio-8080"-exec-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread ""http-bio-8080"-exec-9" java.lang.OutOfMemoryError: PermGen space
Exception in thread "schedulerFactory_Worker-3" java.lang.OutOfMemoryError: PermGen space
Exception in thread ""http-bio-8080"-exec-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Timer-0" java.lang.OutOfMemoryError: PermGen space


MyEclipse中打开window-->preferences-->Tomacat

-Xms128m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m

如果当前的信息就是上述的参数的话,那么可以适当的调大一些上面的值。


已标记关键词 清除标记
相关推荐
求各位大佬帮忙看一下,这类异常应该怎么处理 10:46:58.364 [http-nio-8080-exec-26] DEBUG org.mybatis.spring.SqlSessionUtils - Creating a new SqlSession 10:46:58.365 [http-nio-8080-exec-26] DEBUG org.mybatis.spring.SqlSessionUtils - SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@227de808] was not registered for synchronization because synchronization is not active 10:46:58.365 [http-nio-8080-exec-26] DEBUG org.mybatis.spring.SqlSessionUtils - Closing non transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@227de808] 10:46:58.365 [http-nio-8080-exec-26] DEBUG o.s.w.s.m.m.a.ExceptionHandlerExceptionResolver - Resolving exception from handler [public com.crm.model.easyui.DataGrid com.crm.controller.UserController.datagrid(com.crm.model.easyui.PageHelper,com.crm.model.User,java.lang.String)]: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'userid' not found. Available parameters are [usersid, user, param1, param2] 10:46:58.365 [http-nio-8080-exec-26] DEBUG o.s.w.s.m.a.ResponseStatusExceptionResolver - Resolving exception from handler [public com.crm.model.easyui.DataGrid com.crm.controller.UserController.datagrid(com.crm.model.easyui.PageHelper,com.crm.model.User,java.lang.String)]: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'userid' not found. Available parameters are [usersid, user, param1, param2] 10:46:58.365 [http-nio-8080-exec-26] DEBUG o.s.w.s.m.s.DefaultHandlerExceptionResolver - Resolving exception from handler [public com.crm.model.easyui.DataGrid com.crm.controller.UserController.datagrid(com.crm.model.easyui.PageHelper,com.crm.model.User,java.lang.String)]: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'userid' not found. Available parameters are [usersid, user, param1, param2] 10:46:58.373 [http-nio-8080-exec-26] DEBUG o.s.web.servlet.DispatcherServlet - Could not complete request
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页