关于一次线上报错OOM

2023-07-27 19:49:46 [DEBUG] http-nio-9999-exec-189 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.PermissionMapper.getDefaultPermission > Parameters: 1497800884280336385(String)
2023-07-27 19:49:46 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.UserRoleMapper.selectList > Parameters: 1651539928485466114(String)
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.UserRoleMapper.selectList < Total: 1
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.PermissionMapper.getDefaultPermission < Total: 4

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 LogFormatUtils.java:120 org.springframework.web.servlet.DispatcherServlet GET "/api/v1/files/getSmallImageById?id=1684424018972745730", parameters={masked}

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.RoleMapper.selectBatchIds ==> Preparing: SELECT id,name,description,code,type,org_id,property,role_level AS level,status,create_by,create_time,update_by,update_time,deleted FROM public.mine_acl_role WHERE id IN ( ? ) AND deleted=0

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.RoleMapper.selectBatchIds > Parameters: 1544205274779242498(String)
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 AbstractHandlerMapping.java:522 org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping Mapped to com.csbaic.edatope.file.controller.AppFileController#getSmallImageById(String, HttpServletResponse)
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.RoleMapper.selectBatchIds < Total: 1

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 BaseJdbcLogger.java:137 com.csbaic.edatope.file.mapper.FileMapper.selectById ==> Preparing: SELECT id,owner_id,file_name,origin_file_name,md5,progress,length,path,status,biz_type,remark,create_by,create_time,update_by,update_time,deleted FROM public.mine_app_file WHERE id=? AND deleted=0

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 BaseJdbcLogger.java:137 com.csbaic.edatope.file.mapper.FileMapper.selectById ==> Parameters: 1684424018972745730(String)

2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.OrganizationMapper.selectById > Preparing: SELECT id,name,code,pid,category,province_code,city_code,district_code,address,legal_person,phone,service_level,establishment_date,status,create_by,create_time,update_by,update_time,deleted FROM public.mine_organization WHERE id=? AND deleted=0
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.OrganizationMapper.selectById > Parameters: 1613454642367168513(String)
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-189 BaseJdbcLogger.java:137 com.csbaic.edatope.file.mapper.FileMapper.selectById < Total: 1
2023-07-27 19:49:47 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.OrganizationMapper.selectById < Total: 1

2023-07-27 19:49:48 [DEBUG] http-nio-9999-exec-189 ExceptionHandlerExceptionResolver.java:416 org.springframework.web.servlet.mvc.method.annotation.ExceptionHandlerExceptionResolver Using @ExceptionHandler com.csbaic.edatope.app.web.ResultControllerAdvice#throwable(Throwable)

2023-07-27 19:49:48 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.OrganizationYwApplyMapper.selectList ==> Preparing: SELECT id,org_id,org_name,province_code,jsyw_type,zkyw_type,status,application_progress,create_by,create_time,update_by,update_time,deleted FROM public.mine_organization_yw_apply WHERE deleted=0 AND (org_id = ? AND jsyw_type LIKE ? AND application_progress = ?) ORDER BY id ASC

2023-07-27 19:49:48 [DEBUG] http-nio-9999-exec-241 BaseJdbcLogger.java:137 com.csbaic.edatope.app.mapper.OrganizationYwApplyMapper.selectList ==> Parameters: 1613454642367168513(String), %jsyw0100%(String), tongguo(String)

2023-07-27 19:49:48 [ERROR] http-nio-9999-exec-189 ResultControllerAdvice.java:69 com.csbaic.edatope.app.web.ResultControllerAdvice @ExceptionHandler(Throwable.class):

org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.OutOfMemoryError: Java heap space

at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:1087)

at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:965)

at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:1006)

at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:898)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:529)

at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:883)

at javax.servlet.http.HttpServlet.service(HttpServlet.java:623)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:209)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)

at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:51)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:154)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:111)

at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)

at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:61)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:154)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.springframework.web.filter.CorsFilter.doFilterInternal(CorsFilter.java:91)

at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AdviceFilter.executeChain(AdviceFilter.java:108)

at org.apache.shiro.web.servlet.AdviceFilter.doFilterInternal(AdviceFilter.java:137)

at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:154)

at org.apache.shiro.web.servlet.ProxiedFilterChain.doFilter(ProxiedFilterChain.java:66)

at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:458)

at org.apache.shiro.web.servlet.AbstractShiroFilter 1. c a l l ( A b s t r a c t S h i r o F i l t e r . j a v a : 373 ) a t o r g . a p a c h e . s h i r o . s u b j e c t . s u p p o r t . S u b j e c t C a l l a b l e . d o C a l l ( S u b j e c t C a l l a b l e . j a v a : 90 ) a t o r g . a p a c h e . s h i r o . s u b j e c t . s u p p o r t . S u b j e c t C a l l a b l e . c a l l ( S u b j e c t C a l l a b l e . j a v a : 83 ) a t o r g . a p a c h e . s h i r o . s u b j e c t . s u p p o r t . D e l e g a t i n g S u b j e c t . e x e c u t e ( D e l e g a t i n g S u b j e c t . j a v a : 387 ) a t o r g . a p a c h e . s h i r o . w e b . s e r v l e t . A b s t r a c t S h i r o F i l t e r . d o F i l t e r I n t e r n a l ( A b s t r a c t S h i r o F i l t e r . j a v a : 370 ) a t o r g . a p a c h e . s h i r o . w e b . s e r v l e t . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 154 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 178 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 153 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . R e q u e s t C o n t e x t F i l t e r . d o F i l t e r I n t e r n a l ( R e q u e s t C o n t e x t F i l t e r . j a v a : 100 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 117 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 178 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 153 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . F o r m C o n t e n t F i l t e r . d o F i l t e r I n t e r n a l ( F o r m C o n t e n t F i l t e r . j a v a : 93 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 117 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 178 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 153 ) a t o r g . s p r i n g f r a m e w o r k . b o o t . a c t u a t e . m e t r i c s . w e b . s e r v l e t . W e b M v c M e t r i c s F i l t e r . d o F i l t e r I n t e r n a l ( W e b M v c M e t r i c s F i l t e r . j a v a : 96 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 117 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 178 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 153 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . C h a r a c t e r E n c o d i n g F i l t e r . d o F i l t e r I n t e r n a l ( C h a r a c t e r E n c o d i n g F i l t e r . j a v a : 201 ) a t o r g . s p r i n g f r a m e w o r k . w e b . f i l t e r . O n c e P e r R e q u e s t F i l t e r . d o F i l t e r ( O n c e P e r R e q u e s t F i l t e r . j a v a : 117 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . i n t e r n a l D o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 178 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . A p p l i c a t i o n F i l t e r C h a i n . d o F i l t e r ( A p p l i c a t i o n F i l t e r C h a i n . j a v a : 153 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d W r a p p e r V a l v e . i n v o k e ( S t a n d a r d W r a p p e r V a l v e . j a v a : 167 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d C o n t e x t V a l v e . i n v o k e ( S t a n d a r d C o n t e x t V a l v e . j a v a : 90 ) a t o r g . a p a c h e . c a t a l i n a . a u t h e n t i c a t o r . A u t h e n t i c a t o r B a s e . i n v o k e ( A u t h e n t i c a t o r B a s e . j a v a : 481 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d H o s t V a l v e . i n v o k e ( S t a n d a r d H o s t V a l v e . j a v a : 130 ) a t o r g . a p a c h e . c a t a l i n a . v a l v e s . E r r o r R e p o r t V a l v e . i n v o k e ( E r r o r R e p o r t V a l v e . j a v a : 93 ) a t o r g . a p a c h e . c a t a l i n a . c o r e . S t a n d a r d E n g i n e V a l v e . i n v o k e ( S t a n d a r d E n g i n e V a l v e . j a v a : 74 ) a t o r g . a p a c h e . c a t a l i n a . c o n n e c t o r . C o y o t e A d a p t e r . s e r v i c e ( C o y o t e A d a p t e r . j a v a : 343 ) a t o r g . a p a c h e . c o y o t e . h t t p 11. H t t p 11 P r o c e s s o r . s e r v i c e ( H t t p 11 P r o c e s s o r . j a v a : 390 ) a t o r g . a p a c h e . c o y o t e . A b s t r a c t P r o c e s s o r L i g h t . p r o c e s s ( A b s t r a c t P r o c e s s o r L i g h t . j a v a : 63 ) a t o r g . a p a c h e . c o y o t e . A b s t r a c t P r o t o c o l 1.call(AbstractShiroFilter.java:373) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:370) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:154) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343) at org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390) at org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63) at org.apache.coyote.AbstractProtocol 1.call(AbstractShiroFilter.java:373)atorg.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90)atorg.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83)atorg.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:387)atorg.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:370)atorg.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:154)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)atorg.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:100)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)atorg.springframework.web.filter.FormContentFilter.doFilterInternal(FormContentFilter.java:93)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)atorg.springframework.boot.actuate.metrics.web.servlet.WebMvcMetricsFilter.doFilterInternal(WebMvcMetricsFilter.java:96)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)atorg.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)atorg.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:117)atorg.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)atorg.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153)atorg.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:167)atorg.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:90)atorg.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:481)atorg.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:130)atorg.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:93)atorg.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:74)atorg.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:343)atorg.apache.coyote.http11.Http11Processor.service(Http11Processor.java:390)atorg.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:63)atorg.apache.coyote.AbstractProtocolConnectionHandler.process(AbstractProtocol.java:926)

at org.apache.tomcat.util.net.NioEndpoint S o c k e t P r o c e s s o r . d o R u n ( N i o E n d p o i n t . j a v a : 1791 ) a t o r g . a p a c h e . t o m c a t . u t i l . n e t . S o c k e t P r o c e s s o r B a s e . r u n ( S o c k e t P r o c e s s o r B a s e . j a v a : 52 ) a t o r g . a p a c h e . t o m c a t . u t i l . t h r e a d s . T h r e a d P o o l E x e c u t o r . r u n W o r k e r ( T h r e a d P o o l E x e c u t o r . j a v a : 1191 ) a t o r g . a p a c h e . t o m c a t . u t i l . t h r e a d s . T h r e a d P o o l E x e c u t o r SocketProcessor.doRun(NioEndpoint.java:1791) at org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52) at org.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191) at org.apache.tomcat.util.threads.ThreadPoolExecutor SocketProcessor.doRun(NioEndpoint.java:1791)atorg.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:52)atorg.apache.tomcat.util.threads.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1191)atorg.apache.tomcat.util.threads.ThreadPoolExecutorWorker.run(ThreadPoolExecutor.java:659)

at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)

at java.lang.Thread.run(Thread.java:748)

Caused by: java.lang.OutOfMemoryError: Java heap space

我采用了arthas的dashboard指令

在这里插入图片描述

发现是老年代频繁的发生GC,也就是说有大对象直接生成,不经过eden直接到达老年代,再根据日志中报错之前有关于file的操作,进一步查看文件大小确定确实是由于大对象导致的oom

相关推荐
小屁孩大帅-杨一凡6 分钟前
java后端请求想接收多个对象入参的数据
java·开发语言
java1234_小锋13 分钟前
使用 RabbitMQ 有什么好处?
java·开发语言
TangKenny25 分钟前
计算网络信号
java·算法·华为
肘击鸣的百k路27 分钟前
Java 代理模式详解
java·开发语言·代理模式
城南vision33 分钟前
Docker学习—Docker核心概念总结
java·学习·docker
wyh要好好学习40 分钟前
SpringMVC快速上手
java·spring
尢词42 分钟前
SpringMVC
java·spring·java-ee·tomcat·maven
Mr. zhihao1 小时前
享元模式在 JDK 中的应用解析
java·享元模式
茶馆大橘1 小时前
微服务系列五:避免雪崩问题的限流、隔离、熔断措施
java·jmeter·spring cloud·微服务·云原生·架构·sentinel
wrx繁星点点1 小时前
享元模式:高效管理共享对象的设计模式
java·开发语言·spring·设计模式·maven·intellij-idea·享元模式