tomcat服务器内存溢出的问题:PermGen spac 2C

抱错信息:
Exception in thread "Java2D Disposer" Java.lang.OutOfMemoryError :PermGen spac
tomcat截屏
图片说明

catalina.bat内存修改:
图片说明

修改了内存之后还是报内存溢出的错误。大家伙帮帮忙,服务器一直死机

1个回答

a.原因分析:

  PermGen space的全称是Permanent Generation space,是指内存的永久保存区域。

  这块内存主要是被JVM存放Class和Meta信息的,Class在被Loader时就会被放到PermGen space中,它和存放类实例(Instance)的Heap区域不同,

  GC(Garbage Collection)不会在主程序运行期对PermGen space进行清理,所以如果你的应用中有很CLASS的话,就很可能出现PermGen space错误。

  这种错误常见在web服务器对JSP进行pre compile的时候。如果你的WEB APP下都用了大量的第三方jar, 其大小超过了jvm默认的大小(4M)那么就会产生此错误信息了。

  但目前的hibernate和spring项目中也很容易出现这样的问题。可能是由于这些框架会动态class,而且jvm的gc是不会清理PemGen space的,超过了jvm默认的大小(4M),导致内存溢出。

b.建议:

  将相同的第三方jar文件移置到tomcat/shared/lib目录下,这样可以达到减少jar 文档重复占用内存的目的。

  这一个一般是加大-XX:PermSize -XX:MaxPermSize 来解决问题。  -XX:PermSize 永久保存区域初始大小  -XX:PermSize 永久保存区域初始最大值

  这一般结合第一条使用,比如 set JAVA_OPTS= -Xms1024m -Xmx1024m -XX:PermSize=128M -XX:PermSize=256M

fan_0123
fan_0123 你的回答我在百度就能看到,而且我也试过,内存的大小,调了还是报内存溢出。我怀疑是Java2D Disposer线程的问题
接近 3 年之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
服务器异常java.lang.OutOfMemoryError: PermGen space

Aug 16, 2016 6:09:34 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:22 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:19 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:19 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:39 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:34 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:32 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:32 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:09:32 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:11:38 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:11:38 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space Aug 16, 2016 6:11:38 PM org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet default threw exception java.lang.OutOfMemoryError: PermGen space 这是什么问题啊?服务器死了

关于java.lang.OutOfMemoryError: PermGen space的问题

昨天在测试做一个审批流程过程中突然报了java.lang.OutOfMemoryError: PermGen space的错误。![图片说明](https://img-ask.csdn.net/upload/201708/23/1503476599_700481.png)![图片说明](https://img-ask.csdn.net/upload/201708/23/1503476607_47576.png)![图片说明](https://img-ask.csdn.net/upload/201708/23/1503476613_777099.png)![图片说明](https://img-ask.csdn.net/upload/201708/23/1503476621_918731.png) 上面是错误日志截图 我本机的测试环境跑了近一年了,都没出这样的问题。 其中at com.wondersgroup.cim.innerManager.action.InnerManagerAction.itemChangeAuditPass(InnerManagerAction.java:2635)这做的是一个常规的数据库更新操作, at com.wondersgroup.cim.common.utils.SendMessageUtil.doLogin(SendMessageUtil.java:57) at com.wondersgroup.cim.common.utils.SendMessageUtil.sendMessage(SendMessageUtil.java:28)这做的是一个调用web service操作。 另外我没有额外配置PermSize和MaxPermSize,都是默认值。 这个问题到底是怎么产生的,不应该是JVM内存问题啊,如果是内存溢出,那么这个问题是会经常出现,但我就昨天出现了一次,在怎么也还原不出这个错误了, 请问各位大神,这是怎么个情况

求帮忙解决下Tomcat的OutOfMemoryError: PermGen space问题

我用的是MyEclipse2014,tomcat是8.x的,困扰了很久了,下面是我的配置,但是好像没啥用![图片说明](https://img-ask.csdn.net/upload/201505/29/1432870989_875090.jpg)

java.lang.OutOfMemoryError: PermGen space

项目是用:Spring+Struts2+Mybatis开发的, 服务器:Tomcat7.x IDE:MyEclipse10 在项目启动时报内存溢出异常(java.lang.OutOfMemoryError: PermGen space)

Error: PermGen space

为什么把想放到Tomcat的webapps的root目录下面就报错,java.lang.OutOfMemoryError: PermGen space,本地就可以

tomcat安装到服务后启动访问会报内存溢出

把tomcat安装到windows的服务里启动,连访问tomcat的主页都会报OutOfMemoryError: PermGen space内存溢出错误,但小弟已经到注册表里加大了tomcat的运行内存。如下图 ![JvmMs和JvmMx都设置了1024,在Options的后面加上了-Xms1024m-Xmx1024m,之前这4个参数都设置为2048,一样报这个错](https://img-ask.csdn.net/upload/201606/03/1464915742_470832.jpg) 图上这四个参数之前有设置为2048,但一样是报java.lang.OutOfMemoryError: PermGen space。跪求各路大神帮忙! 问题自己解决了!原来是这个参数设置错误,看来网上的很多这方面的解答不是很正确。 ![图片说明](https://img-ask.csdn.net/upload/201606/03/1464924963_662698.jpg) 报错提示: PermGen space。这是虚拟机里方法区(常量池也属于方法区)的内存溢出,解决方案之一可以加大方法区的最大容量,加大方法区内存容量的对应参数是:-XX:PermSize(最小值),-XX:MaxPermSize(最大值) 如果报错提示是:java heap space。这是虚拟机的堆内存溢出,解决方案之一是加大堆最大内存容量,对应设置的参数是:-Xms (最小),-Xmx(最大)

Tomcat8中如何内存溢出,如何增大内存?

控制台报错: java.lang.OutOfMemoryError: PermGen space at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:883) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) at sun.net.www.http.HttpClient.parseHTTPHeader(HttpClient.java:773) at sun.net.www.http.HttpClient.parseHTTP(HttpClient.java:633) at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1324) at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:326) at org.jasig.cas.client.util.CommonUtils.getResponseFromServer(CommonUtils.java:305) at org.jasig.cas.client.validation.AbstractCasProtocolUrlBasedTicketValidator.retrieveResponseFromServer(AbstractCasProtocolUrlBasedTicketValidator.java:50) at org.jasig.cas.client.validation.AbstractUrlBasedTicketValidator.validate(AbstractUrlBasedTicketValidator.java:207) at org.jasig.cas.client.validation.AbstractTicketValidationFilter.doFilter(AbstractTicketValidationFilter.java:169) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.jasig.cas.client.session.SingleSignOutFilter.doFilter(SingleSignOutFilter.java:76) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:240) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:207) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:212) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:106) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:502) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:141) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:79) at org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:616) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:88) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:522) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1095) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:672) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1502) at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:1458) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) 代码报错位置(字符串可以看到json串,但是执行报内存溢出): ![图片说明](https://img-ask.csdn.net/upload/201606/15/1465961492_415406.jpg) 我是在本地tomcat8下面跑的,按照网上所说,我修改了catalina.bat文件增大内存,可可是貌似没有生效(如截图所示,本地tomcat数值一直没变),求助 ![图片说明](https://img-ask.csdn.net/upload/201606/15/1465961473_564921.jpg) catalina.bat 第一行修改了set JAVA_OPTS=-Xms1024m -Xmx1024m -Xss1024K -XX:PermSize=512m -XX:MaxPermSize=2048m, :noJuliConfig set "JAVA_OPTS=%JAVA_OPTS% %LOGGING_CONFIG%" JAVA_OPTS='-Xms512m -Xmx1024m' JAVA_OPTS="$JAVA_OPTS -server -XX:PermSize=512M -XX:MaxPermSize=2048m" 等等,没有用啊。。 分不多,都给你了,真心求教。(纯粹赋值张贴得别拿来了,我也上网搜了还没解决)

java PermGen 内存溢出问题

在写java项目时,由于引入第三方库, PermGen 在项目访问一段时间后 就会溢出。请问怎么解决

公司的系統點擊一個功能的時候報java.lang.OutOfMemoryError: PermGen space

在公司的系統中點擊了一個打印的功能,前臺是用flex,后臺是java,打印的時候是彈出來一個jsp頁面,中間夾了大量的計算。在本地測試沒事 可以彈出來jsp頁面,但是放在測試機上時候就會報如下異常,我在測試服務器的環境變量里設置了 变名:JAVA_OPTS 变量值:-Xms1024m -Xmx1024m 還是沒有作用,不知道應該怎么處理了。是程序的問題嗎? java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:620) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at java.lang.ClassLoader.loadClass(ClassLoader.java:251) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) at org.eclipse.jdt.internal.compiler.parser.Parser.consumeClassHeaderName1(Parser.java:2161) at org.eclipse.jdt.internal.compiler.parser.Parser.consumeRule(Parser.java:5103) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9020) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9251) at org.eclipse.jdt.internal.compiler.parser.Parser.parse(Parser.java:9208) at org.eclipse.jdt.internal.compiler.parser.Parser.dietParse(Parser.java:7864) at org.eclipse.jdt.internal.compiler.Compiler.internalBeginToCompile(Compiler.java:587) at org.eclipse.jdt.internal.compiler.Compiler.beginToCompile(Compiler.java:357) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:371) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:413) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:317) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:282) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:586) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)

Tomcat配置Host出现内存溢出问题

哎 本来我不是做运维的 可是没办法啊 目前情况是在域名服务器那边绑定了域名和ip,但是绑定的是两个域名对应一个ip ip这边是一台服务器,80端口是Tomcat,这就是说那边域名就会自动指向这边的Tomcat的ROOT项目 现在想让这两个域名分别指向同一个Tomcat下的不同项目,Google一下好像是“配置虚拟主机”的问题,我按着配了下,在conf/server.xml中增加如下代码: [code="java"] <Host appBase="webapps" name="www.dog123.com" unpackWARs="true" autoDeploy="true" xmlValidation="false" xmlNamespaceAware="false"> <Context path="" docBase="D:/apache-tomcat-6.0.14/webapps/dog" reloadable="true" /> </Host> [/code] 当然,如果在本地做实验的话需要在C:\WINDOWS\system32\drivers\etc下面的hosts文件中增加 127.0.0.1 www.dog123.com 我如此配置以后,运行服务器,访问http://www.dog123.com:8080/(Tomcat端口是8080,因为是在本地做实验,还没有上传服务器),报出内存溢出异常: [code="java"] 严重: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) at java.net.URLClassLoader.access$000(URLClassLoader.java:56) at java.net.URLClassLoader$1.run(URLClassLoader.java:195) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:188) at java.lang.ClassLoader.loadClass(ClassLoader.java:307) at java.lang.ClassLoader.loadClass(ClassLoader.java:252) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320) at org.eclipse.jdt.internal.compiler.Compiler.handleInternalException(Compiler.java:481) at org.eclipse.jdt.internal.compiler.Compiler.compile(Compiler.java:430) at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:413) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266) at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584) Exception in thread "http-8080-1" java.lang.OutOfMemoryError: PermGen space [/code] 这是怎么回事啊?有懂这个的帮忙看下,谢谢大家了

tomcat内存溢出问题,急求解决

tomcat报错信息 当前JDK版本:20.45-b01 最大内存=1437MB; 总的内存=1437MB; 空闲内存=1367MB; [SHWT] 2017年03月30日 09:43:50 服务器:发布框架版本_Ver.2.2.3 [SHWT] 2017年03月30日 09:43:50 服务器:已成功绑定Web容器上下文... [SHWT] 2017年03月30日 09:43:50 服务器:网上消息文件上载临时路径->>C:\Users\Administrator\workspace\ssxf\WebContent\upload [SHWT] 2017年03月30日 09:43:50 服务器:网上消息文件下载临时路径->>C:\Users\Administrator\workspace\ssxf\WebContent\wsxxBackUp [SHWT] 2017年03月30日 09:43:50 服务器:DEPLOYID=SHWT [SHWT] 2017年03月30日 09:43:50 服务器:加载系统配置信息完成... [SHWT] 2017年03月30日 09:43:50 高速缓存:TS_BZDM 共加载258条记录 [SHWT] 2017年03月30日 09:43:50 高速缓存:TS_BZDM(list) 共加载11条记录 [SHWT] 2017年03月30日 09:43:50 高速缓存:T_USER 共加载112条记录 [SHWT] 2017年03月30日 09:43:50 高速缓存:TS_DEPART 共加载40条记录 [SHWT] 2017年03月30日 09:43:50 高速缓存:TS_FYMC 共加载3572条记录 [SHWT] 2017年03月30日 09:43:50 高速缓存:T_ROLE 共加载14条记录 [SHWT] 2017年03月30日 09:43:50 服务器:缓存对象加载完成... [SHWT] 2017年03月30日 09:43:50 定时器:在线用户检测服务启动完成... [SHWT] 2017年03月30日 09:43:50 服务器:发布信访版本_Ver.2016-02-26 [SHWT] 2017年03月30日 09:43:50 服务器:Request线程同步器注册成功... 2017-3-30 9:43:50 org.apache.cxf.transport.servlet.CXFServlet updateContext 信息: Load the bus with application context 2017-3-30 9:43:50 org.apache.cxf.bus.spring.BusApplicationContext getConfigResources 信息: No cxf.xml configuration file detected, relying on defaults. 2017-3-30 9:43:50 org.apache.cxf.transport.servlet.AbstractCXFServlet replaceDestinationFactory 信息: Servlet transport factory already registered 2017-3-30 9:43:53 org.apache.catalina.loader.WebappClassLoader validateJarFile 信息: validateJarFile(C:\Users\Administrator\workspace\ssfw_apporg\WebContent\WEB-INF\lib\servlet-api2.4.jar) - jar not loaded. See Servlet Spec 2.3, section 9.7.2. Offending class: javax/servlet/Servlet.class java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Exception in thread "main" java.lang.OutOfMemoryError: PermGen space at java.lang.Throwable.getStackTraceElement(Native Method) at java.lang.Throwable.getOurStackTrace(Throwable.java:591) at java.lang.Throwable.printStackTraceAsCause(Throwable.java:481) at java.lang.Throwable.printStackTrace(Throwable.java:468) at java.lang.Throwable.printStackTrace(Throwable.java:451) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:421) Exception in thread "DefaultQuartzScheduler_QuartzSchedulerThread" java.lang.OutOfMemoryError: PermGen space 内存明明还有很多,但却报内存溢出![图片说明](https://img-ask.csdn.net/upload/201703/30/1490838696_386678.png)

内存溢出问题,不知道是哪里出现的问题,怀疑是druid连接池使用不当,求大佬帮忙。

昨晚上出现了两次内存溢出,找不到复现的方法,每次出现内存溢出都不一样,两次都是先出现"Disk Write of"写入磁盘失败错误,然后就是druid获取连接失败,然后报OOM异常,接着linux服务器cpu使用率上涨,一直涨到百分之600满(服务器是6核CPU),第二次的日志看跟第一次出现类似;下面是第一次 日志 2020-03-16 17:39:47 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_ca92_processor failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:39:47 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_ca92_processor failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351636324","msgId":"598577930","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:40:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351636324","msgId":"598577930","msg":"成功"} 2020-03-16 17:41:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351696340","msgId":"480724569","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:41:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:41:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:41:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351696340","msgId":"480724569","msg":"成功"} 2020-03-16 17:42:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351756356","msgId":"2008015594","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:42:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:42:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:42:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351756356","msgId":"2008015594","msg":"成功"} 2020-03-16 17:43:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351816372","msgId":"1754653907","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:43:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:43:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:43:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351816372","msgId":"1754653907","msg":"成功"} 2020-03-16 17:44:37 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:38 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:38 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:41 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351881843","msgId":"327484943","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:44:41 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:44:43 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:44:48 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:48 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:49 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351881843","msgId":"327484943","msg":"成功"} 2020-03-16 17:45:02 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:45:55 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:45:55 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351955374","msgId":"690664616","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:45:55 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:46:00 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351955374","msgId":"690664616","msg":"成功"} 2020-03-16 17:47:13 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352033984","msgId":"1701533843","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:47:13 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:47:14 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:47:19 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352033984","msgId":"1701533843","msg":"成功"} 2020-03-16 17:48:48 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352128999","msgId":"1984150795","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:48:50 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:48:50 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352128999","msgId":"1984150795","msg":"成功"} 2020-03-16 17:48:51 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:50:00 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352200578","msgId":"1977525065","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:50:01 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:50:03 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:50:04 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352200578","msgId":"1977525065","msg":"成功"} 2020-03-16 17:51:20 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352280657","msgId":"1863876211","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:51:21 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:51:22 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:51:28 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352280657","msgId":"1863876211","msg":"成功"} 2020-03-16 17:52:47 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:52:50 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:52:55 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352373108","msgId":"628094041","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:53:03 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352373108","msgId":"628094041","msg":"成功"} 2020-03-16 17:54:00 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352439640","msgId":"72219615","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:54:00 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:54:03 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:54:09 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352439640","msgId":"72219615","msg":"成功"} 2020-03-16 17:55:23 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:55:23 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:55:25 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:55:26 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:55:26 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352526466","msgId":"1473614692","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:55:36 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:55:41 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:55:42 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352526466","msgId":"1473614692","msg":"成功"} 2020-03-16 17:55:48 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:00 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:00 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:02 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:56:05 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:06 WARN [SqlExceptionHelper.java:143] - SQL Error: 0, SQLState: null 2020-03-16 17:56:06 ERROR [SqlExceptionHelper.java:144] - wait millis 5488, active 8, maxActive 40, creating 0 2020-03-16 17:56:14 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:27 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:56:29 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:56:37 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:56:37 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352597266","msgId":"617319811","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:56:37 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:56:49 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352597266","msgId":"617319811","msg":"成功"} 2020-03-16 17:56:58 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:58:04 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352684961","msgId":"1580436857","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:58:04 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:58:07 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:58:12 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584352684961","msgId":"1580436857","msg":"成功"} 2020-03-16 17:58:17 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:58:38 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:59:06 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 然后这是第二次OOM异常的日志 2020-03-16 17:36:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351396265","msgId":"2054492855","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:36:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351396265","msgId":"2054492855","msg":"成功"} 2020-03-16 17:37:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351456281","msgId":"1912161758","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:37:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351456281","msgId":"1912161758","msg":"成功"} 2020-03-16 17:38:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351516297","msgId":"476243815","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:38:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351516297","msgId":"476243815","msg":"成功"} 2020-03-16 17:39:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351576307","msgId":"2004523303","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:39:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351576307","msgId":"2004523303","msg":"成功"} 2020-03-16 17:39:47 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_ca92_processor failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:39:47 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_ca92_processor failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351636324","msgId":"598577930","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:40:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:40:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351636324","msgId":"598577930","msg":"成功"} 2020-03-16 17:41:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351696340","msgId":"480724569","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:41:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:41:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:41:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351696340","msgId":"480724569","msg":"成功"} 2020-03-16 17:42:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351756356","msgId":"2008015594","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:42:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:42:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:42:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351756356","msgId":"2008015594","msg":"成功"} 2020-03-16 17:43:36 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351816372","msgId":"1754653907","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:43:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:43:36 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:43:36 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351816372","msgId":"1754653907","msg":"成功"} 2020-03-16 17:44:37 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:38 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:38 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:41 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351881843","msgId":"327484943","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":16777400,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:44:41 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:44:43 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:44:48 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:48 WARN [DruidDataSource.java:1258] - get connection timeout retry : 1 2020-03-16 17:44:49 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351881843","msgId":"327484943","msg":"成功"} 2020-03-16 17:45:02 ERROR [DruidDataSource.java:2469] - create connection SQLException, url: jdbc:mysql://localhost:55060/mcs?useUnicode=true&characterEncoding=utf-8, errorCode 0, state S1000 java.sql.SQLException: java.lang.OutOfMemoryError: PermGen space at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:965) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:898) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:887) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:861) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:878) at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:874) at com.mysql.jdbc.Util.handleNewInstance(Util.java:443) at com.mysql.jdbc.ConnectionImpl.getInstance(ConnectionImpl.java:385) at com.mysql.jdbc.NonRegisteringDriver.connect(NonRegisteringDriver.java:323) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1513) at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1578) at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2466) Caused by: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:45:55 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:45:55 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584351955374","msgId":"690664616","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":33554616,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:45:55 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:46:00 INFO [MQTTProtocolHandler.java:89] - 接收到返回协议:{"topic":"reControlProtocol/reApplyBackPicCtrl/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07/00:00:01:A0:43:74","result":"success","timeStamp":"1584351955374","msgId":"690664616","msg":"成功"} 2020-03-16 17:47:13 INFO [BaseHandler.java:42] - 向解码器推送协议{"topic":"controlProtocol/applyBackPicCtrl/00:00:01:A0:43:74/1c79b3b3-6020-4af7-97ec-a1abd5f0cc07","timeStamp":"1584352033984","msgId":"1701533843","videoEnable":0,"picList":[{"level":0,"imageEndY":900,"imageEndX":1600,"blockEndY":900,"blockEndX":1600,"blockStartY":180,"imageStartX":320,"picId":184,"imageStartY":180,"blockStartX":320}]} 2020-03-16 17:47:13 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 2020-03-16 17:47:14 ERROR [DiskStorageFactory.java:495] - Disk Write of mcs_pic_layer failed: java.lang.OutOfMemoryError: PermGen space 这是我项目的druid配置 <!--druid连接池 --> <beans profile="production"> <context:property-placeholder ignore-unresolvable="true" location="classpath:/jdbc.properties" /> <bean id="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="driverClassName" value="${jdbc.driver}" /> <property name="url" value="${jdbc.url}" /> <property name="username" value="${jdbc.username}" /> <property name="password" value="${jdbc.password}" /> <!-- 配置初始化大小、最小、最大 --> <property name="initialSize" value="1" /> <property name="minIdle" value="1" /> <property name="maxActive" value="40" /> <!-- 配置获取连接等待超时的时间 --> <property name="maxWait" value="5000" /> <!-- 配置间隔多久才进行一次检测,检测需要关闭的空闲连接,单位是毫秒 --> <property name="timeBetweenEvictionRunsMillis" value="60000" /> <!-- 配置一个连接在池中最小生存的时间,单位是毫秒 --> <property name="minEvictableIdleTimeMillis" value="300000" /> <property name="testWhileIdle" value="true" /> <!-- 这里建议配置为TRUE,防止取到的连接不可用 --> <property name="testOnBorrow" value="true" /> <property name="testOnReturn" value="false" /> <!-- 打开PSCache,并且指定每个连接上PSCache的大小 --> <property name="poolPreparedStatements" value="true" /> <property name="maxPoolPreparedStatementPerConnectionSize" value="20" /> <!-- 这里配置提交方式,默认就是TRUE,可以不用配置 --> <property name="defaultAutoCommit" value="true" /> </bean> </beans> 求大佬们帮解答。。。

内存溢出问题,各位帮帮忙

[Azure] ERROR [pool-1-thread-1] org.springframework.scheduling.support.TaskUtils$LoggingErrorHandler.handleError(95) | Unexpected error occurred in scheduled task. java.lang.OutOfMemoryError: PermGen space at com.sun.xml.internal.stream.XMLInputFactoryImpl.getXMLStreamReaderImpl(XMLInputFactoryImpl.java:262) at com.sun.xml.internal.stream.XMLInputFactoryImpl.createXMLStreamReader(XMLInputFactoryImpl.java:155) at org.apache.cxf.staxutils.StaxUtils.createXMLStreamReader(StaxUtils.java:1199) at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:104) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:799) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1635) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1502) at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1410) at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:47) at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:195) at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56) at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:650) at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62) at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263) at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366) at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319) at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88) at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134) at com.sun.proxy.$Proxy223.reqForCardService(Unknown Source) at com.gnete.card.ws.client.CardWsClient.singleReqForCardService(CardWsClient.java:150) at com.gnete.card.ws.client.CardWsClient.login(CardWsClient.java:115) at com.gnete.card.ws.client.CardWsClient.loginIfNotLogined(CardWsClient.java:105) at com.gnete.card.ws.client.CardWsClient.singleCall(CardWsClient.java:71) at com.company.demo.remoteAccess.CardWsRemoteAccess.findCardBalance(CardWsRemoteAccess.java:78) at com.company.demo.remoteAccess.CardWsRemoteAccess.findCardBalance(CardWsRemoteAccess.java:49) at com.soarswing.jr.job.SynDataJob.synData(SynDataJob.java:75) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) Exception in thread "Keep-Alive-Timer" java.lang.OutOfMemoryError: PermGen space at java.util.AbstractList.subList(AbstractList.java:484) at java.util.Vector.subList(Vector.java:1034) at sun.net.www.http.KeepAliveCache.run(KeepAliveCache.java:204) at java.lang.Thread.run(Thread.java:745) 用cfx作webservice调用,在tomcat坏境下就报这个错误,直接运行就没问题,怎么回事啊???各位帮帮忙吧

启动项目时!一直报错 OutOfMemoryError: PermGen space

java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:414) Exception in thread "main" java.lang.OutOfMemoryError: PermGen space 【在网上看了好多东西!都是让修改tomcat的bin目录下的catalina.bat文件!但是都没有效果!求大声帮忙看看】

【求助】java.lang.OutOfMemoryError: PermGen space

电脑 I3 4G内存,以前没运行过大型项目。 现在eclipse tomcat部署两个项目(jar包加起来有250个左右),启动没问题,在浏览器操作时(向服务器添加数据),后台就报: 严重: Servlet.service() for servlet jsp threw exception java.lang.OutOfMemoryError: PermGen space 另mysql服务器,启动就占了10%的内存,保存时总内存在65~69%左右,求大神帮忙

tomcat内存溢出问题111111111111111

Exception in thread "http-bio-8080-exec-10" java.lang.OutOfMemoryError: PermGen space tomcat内存溢出怎么设置,网上只看到了myeclipse的解决方案 ,我用的eclipse

tomcat 启动内存溢出 !!!

WARN 2016-05-25 18:18:36,714 com.gbc.sapphire.action.BusyInterceptor < java.lang.OutOfMemoryError > PermGen space java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:800) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) freemarker.template.Template.<init>(Template.java:166) freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:447) freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:360) freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235) freemarker.template.Configuration.getTemplate(Configuration.java:578) freemarker.template.Configuration.getTemplate(Configuration.java:550) org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:173) com.gbc.sapphire.action.FreeMarkerResult.doExecute(FreeMarkerResult.java:31) org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275) com.gbc.sapphire.action.BusyInterceptor.intercept(BusyInterceptor.java:61) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) com.gbc.sapphire.dao.DaoFilter.doFilter(DaoFilter.java:34) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) com.gbc.diamond.util.HeaderFilter.doFilter(HeaderFilter.java:44) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 执行BusyInterceptor时发生异常! WARN 2016-05-25 18:18:36,714 com.gbc.sapphire.action.BusyInterceptor < java.lang.OutOfMemoryError > PermGen space java.lang.ClassLoader.defineClass1(Native Method) java.lang.ClassLoader.defineClass(ClassLoader.java:800) java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142) org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:2957) org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:1210) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1690) org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1571) freemarker.template.Template.<init>(Template.java:166) freemarker.cache.TemplateCache.loadTemplate(TemplateCache.java:447) freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:360) freemarker.cache.TemplateCache.getTemplate(TemplateCache.java:235) freemarker.template.Configuration.getTemplate(Configuration.java:578) freemarker.template.Configuration.getTemplate(Configuration.java:550) org.apache.struts2.views.freemarker.FreemarkerResult.doExecute(FreemarkerResult.java:173) com.gbc.sapphire.action.FreeMarkerResult.doExecute(FreeMarkerResult.java:31) org.apache.struts2.dispatcher.StrutsResultSupport.execute(StrutsResultSupport.java:186) com.opensymphony.xwork2.DefaultActionInvocation.executeResult(DefaultActionInvocation.java:371) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:275) com.gbc.sapphire.action.BusyInterceptor.intercept(BusyInterceptor.java:61) com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:246) org.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:54) org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:563) org.apache.struts2.dispatcher.ng.ExecuteOperations.executeAction(ExecuteOperations.java:77) org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter.doFilter(StrutsPrepareAndExecuteFilter.java:99) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) com.gbc.sapphire.dao.DaoFilter.doFilter(DaoFilter.java:34) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) com.gbc.diamond.util.HeaderFilter.doFilter(HeaderFilter.java:44) org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) 执行BusyInterceptor时发生异常! 跑两个项目会报错

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

点沙成金:英特尔芯片制造全过程揭密

“亚马逊丛林里的蝴蝶扇动几下翅膀就可能引起两周后美国德州的一次飓风……” 这句人人皆知的话最初用来描述非线性系统中微小参数的变化所引起的系统极大变化。 而在更长的时间尺度内,我们所生活的这个世界就是这样一个异常复杂的非线性系统…… 水泥、穹顶、透视——关于时间与技艺的蝴蝶效应 公元前3000年,古埃及人将尼罗河中挖出的泥浆与纳特龙盐湖中的矿物盐混合,再掺入煅烧石灰石制成的石灰,由此得来了人...

讲一个程序员如何副业月赚三万的真实故事

loonggg读完需要3分钟速读仅需 1 分钟大家好,我是你们的校长。我之前讲过,这年头,只要肯动脑,肯行动,程序员凭借自己的技术,赚钱的方式还是有很多种的。仅仅靠在公司出卖自己的劳动时...

上班一个月,后悔当初着急入职的选择了

最近有个老铁,告诉我说,上班一个月,后悔当初着急入职现在公司了。他之前在美图做手机研发,今年美图那边今年也有一波组织优化调整,他是其中一个,在协商离职后,当时捉急找工作上班,因为有房贷供着,不能没有收入来源。所以匆忙选了一家公司,实际上是一个大型外包公司,主要派遣给其他手机厂商做外包项目。**当时承诺待遇还不错,所以就立马入职去上班了。但是后面入职后,发现薪酬待遇这块并不是HR所说那样,那个HR自...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

我说我不会算法,阿里把我挂了。

不说了,字节跳动也反手把我挂了。

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

你打算用Java 8一辈子都不打算升级到Java 14,真香

我们程序员应该抱着尝鲜、猎奇的心态,否则就容易固步自封,技术停滞不前。

无代码时代来临,程序员如何保住饭碗?

编程语言层出不穷,从最初的机器语言到如今2500种以上的高级语言,程序员们大呼“学到头秃”。程序员一边面临编程语言不断推陈出新,一边面临由于许多代码已存在,程序员编写新应用程序时存在重复“搬砖”的现象。 无代码/低代码编程应运而生。无代码/低代码是一种创建应用的方法,它可以让开发者使用最少的编码知识来快速开发应用程序。开发者通过图形界面中,可视化建模来组装和配置应用程序。这样一来,开发者直...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

《经典算法案例》01-08:如何使用质数设计扫雷(Minesweeper)游戏

我们都玩过Windows操作系统中的经典游戏扫雷(Minesweeper),如果把质数当作一颗雷,那么,表格中红色的数字哪些是雷(质数)?您能找出多少个呢?文中用列表的方式罗列了10000以内的自然数、质数(素数),6的倍数等,方便大家观察质数的分布规律及特性,以便对算法求解有指导意义。另外,判断质数是初学算法,理解算法重要性的一个非常好的案例。

《Oracle Java SE编程自学与面试指南》最佳学习路线图(2020最新版)

正确选择比瞎努力更重要!

一文带你入门Java Stream流,太强了

两个星期以前,就有读者强烈要求我写一篇 Java Stream 流的文章,我说市面上不是已经有很多了吗,结果你猜他怎么说:“就想看你写的啊!”你看你看,多么苍白的喜欢啊。那就“勉为其难”写一篇吧,嘻嘻。 单从“Stream”这个单词上来看,它似乎和 java.io 包下的 InputStream 和 OutputStream 有些关系。实际上呢,没毛关系。Java 8 新增的 Stream 是为...

都前后端分离了,咱就别做页面跳转了!统统 JSON 交互

文章目录1. 无状态登录1.1 什么是有状态1.2 什么是无状态1.3 如何实现无状态1.4 各自优缺点2. 登录交互2.1 前后端分离的数据交互2.2 登录成功2.3 登录失败3. 未认证处理方案4. 注销登录 这是本系列的第四篇,有小伙伴找不到之前文章,松哥给大家列一个索引出来: 挖一个大坑,Spring Security 开搞! 松哥手把手带你入门 Spring Security,别再问密...

面试官:你连SSO都不懂,就别来面试了

大厂竟然要考我SSO,卧槽。

立即提问
相关内容推荐