无法生成Spring Boot应用程序的堆转储

时间:2018-07-31 12:58:55

标签: java spring-boot heap

我正在运行带有嵌入式Tomcat的Spring Boot应用程序,并且我的应用程序遇到内存不足错误。

org.apache.catalina.core.ContainerBase   : Unexpected death of background thread ContainerBackgroundProcessor[StandardEngine[Tomcat]]

java.lang.OutOfMemoryError:Java堆空间

我想分析根本原因。因此,我启用了SpringBoot执行器堆转储端点以生成堆转储。堆转储文件在本地计算机上生成,但是当我尝试在服务器上命中/ heapdump端点时,出现以下错误。我想在服务器上生成堆转储文件以分析导致内存不足的原因。

Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.reflect.UndeclaredThrowableException] with root cause

java.io.IOException:文件大小限制

0 个答案:

没有答案