JBoss reaching OOME during start up after update to EAP 7.4 Update 11
Issue
- We updated to EAP 7.4 Update 11 and now face OOMEs in start up.
- An OOME is reached in
com.redhat.insights.jars.JarUtils.computeSha
:
Thread 0xf0d22c40
at java.lang.OutOfMemoryError.<init>()V (OutOfMemoryError.java:48)^M
at java.util.Arrays.copyOf([BI)[B (Arrays.java:3236)^M
at java.io.ByteArrayOutputStream.grow(I)V (ByteArrayOutputStream.java:118)^M
at java.io.ByteArrayOutputStream.ensureCapacity(I)V (ByteArrayOutputStream.java:93)^M
at java.io.ByteArrayOutputStream.write([BII)V (ByteArrayOutputStream.java:153)^M
at com.redhat.insights.jars.JarUtils.computeSha(Ljava/io/InputStream;Ljava/lang/String;)Ljava/lang/String; (JarUtils.java:164)^M
at com.redhat.insights.jars.JarUtils.computeSha(Ljava/net/URL;Ljava/lang/String;)Ljava/lang/String; (JarUtils.java:155)^M
at com.redhat.insights.jars.JarUtils.computeSha1(Ljava/net/URL;)Ljava/lang/String; (JarUtils.java:132)^M
at com.redhat.insights.jars.JarAnalyzer.getJarInfoSafe(Ljava/lang/String;Ljava/net/URL;)Lcom/redhat/insights/jars/JarInfo; (JarAnalyzer.java:109)^M
at com.redhat.insights.jars.JarAnalyzer.process(Ljava/lang/String;Ljava/net/URL;)Ljava/util/Optional; (JarAnalyzer.java:74)^M
at org.jboss.eap.insights.report.JBossInsightsDeploymentSubReport.generateReport()V (JBossInsightsDeploymentSubReport.java:109)^M
at org.jboss.eap.insights.report.JBossInsightsWrapperSubReport.generateReport()V (JBossInsightsWrapperSubReport.java:69)^M
at com.redhat.insights.AbstractTopLevelReportBase.generateReport(Lcom/redhat/insights/Filtering;)V (AbstractTopLevelReportBase.java:199)^M
at com.redhat.insights.InsightsReportController.generateConnectReport()V (InsightsReportController.java:149)^M
Environment
- JBoss Enterprise Application Platform (EAP) 7.4 Update 11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.