问题描述:windows环境下agent-1.4.0.release 运行过程中,cmd窗口出现OutOfMemoryError,关闭窗口重新启动jar包后恢复正常
Server版本:agent-1.4.0.release
Agent版本与部署方式:windows环境下agent-1.4.0.release (jar包方式启动,agent服务距上次启动大概有34天)
手机型号与系统版本:android 8+、 windows 10
截图:
仅在cmd窗口出现该错误

相关日志:
2022-08-29 09:58:24.157 INFO 51960 --- [http-nio-7777-exec-64] o.c.s.agent.websockets.AndroidWSServer : f0 发送 {"detail":3,"type":"keyEvent"}
2022-08-29 09:58:28.291 INFO 51960 --- [http-nio-7777-exec-64] o.c.s.agent.websockets.AndroidWSServer : f0 发送 {"detail":3,"type":"keyEvent"}
2022-08-29 09:58:33.728 INFO 51960 --- [http-nio-7777-exec-64] o.c.s.agent.websockets.AndroidWSServer : f0 发送 {"detail":3,"type":"keyEvent"}
2022-08-29 09:58:35.060 INFO 51960 --- [http-nio-7777-exec-64] o.c.s.agent.websockets.AndroidWSServer : f0 发送 {"detail":3,"type":"keyEvent"}
2022-08-29 09:58:39.229 INFO 51960 --- [http-nio-7777-exec-64] o.c.s.agent.websockets.AndroidWSServer : f0 发送 {"detail":3,"type":"keyEvent"}
2022-08-29 10:04:42.126 INFO 51960 --- [AgentNettyClient-4-1] o.c.s.agent.netty.NettyClientHandler : Agent:/172.16.28.238:40727 <- sonic-netty.wgine-daily.com/172.30.70.26:7799 message: {"msg":"heartBeat"}
2022-08-29 10:04:42.126 ERROR 51960 --- [http-nio-7777-exec-23] o.c.s.a.w.AndroidTerminalWSServer : java.io.IOException: 你的主机中的软件中止了一个已建立的连接。
2022-08-29 10:36:30.181 INFO 38848 --- [main] org.cloud.sonic.agent.AgentApplication : Starting AgentApplication v1.4.0-release using Java 17.0.3.1 on DESKTOP-4O0KCJ4 with PID 38848 (D:\项目\NPS\gongju\sonic-agent-v1.4.0-release-windows_x86_64_0812\sonic-agent-v1.4.0-release-windows_x86_64\sonic-agent-windows-x86_64_0818.jar started by NOTBIG in D:\项目\NPS\gongju\sonic-agent-v1.4.0-release-windows_x86_64_0812\sonic-agent-v1.4.0-release-windows_x86_64)
2022-08-29 10:36:30.199 INFO 38848 --- [main] org.cloud.sonic.agent.AgentApplication : The following profiles are active: sonic-agent
2022-08-29 10:36:35.582 INFO 38848 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 7777 (http)
2022-08-29 10:36:35.627 INFO 38848 --- [main] o.apache.catalina.core.StandardService : Starting service [Tomcat]
2022-08-29 10:36:35.629 INFO 38848 --- [main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.53]
2022-08-29 10:36:35.859 INFO 38848 --- [main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext
2022-08-29 10:36:35.860 INFO 38848 --- [main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 5336 ms
2022-08-29 10:37:14.840 INFO 38848 --- [main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 7777 (http) with context path ''
2022-08-29 10:37:15.255 INFO 38848 --- [main] o.c.s.a.b.a.AndroidDeviceBridgeTool : Android devices listening...
2022-08-29 10:37:15.310 INFO 38848 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: BMBCJ28BE00971 ONLINE!
2022-08-29 10:37:17.387 INFO 38848 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: 70NNLSUKB0 ONLINE!
2022-08-29 10:37:19.812 INFO 38848 --- [Device List Monitor] o.c.s.a.b.a.AndroidDeviceStatusListener : Android device: BMBCJ28BE00B2B ONLINE!