Alexander Gerbig
2017-11-14 10:45:57 UTC
Hi,
we develop and host a RAP e4 application on the JBoss EAP 7 and experience an java.lang.OutOfMemoryError: Metaspace after some redeployments of the application into the JBoss. An analysis if a heap dump shows that per deployment one thread org.eclipse.emf.common.util.CommonUtil$1ReferenceClearingQueuePollingThread EMF Reference Cleaner is created. This keeps the classloaders and its classes alive which later results in the OOM.
Is it somehow possible to stop this thread when the application is undeployed?
Thanks for your help.
Regards,
Alexander
--
Alexander Gerbig, Dipl.-Wirt.-Inf. (FH)
Softwareentwicklung und -beratung
T +49 931 73046 747 | M +49 170 182 747 6 | F +49 931 260 798 29
***@systhemis.de<mailto:***@systhemis.de> | www.systhemis.de<http://www.systhemis.de/>
SYSTHEMIS AG | Ein Unternehmen der Prof. Thome Gruppe
Mergentheimer Str. 76a | 97082 W?rzburg | Zentrale: +49 931 730 46-700
Vorstand: Dr. Christian Schneider (Vors.), Steffen Hock
Aufsichtsratsvorsitzender: Prof. Dr. Rainer Thome | HRB: 10523 (W?rzburg)
we develop and host a RAP e4 application on the JBoss EAP 7 and experience an java.lang.OutOfMemoryError: Metaspace after some redeployments of the application into the JBoss. An analysis if a heap dump shows that per deployment one thread org.eclipse.emf.common.util.CommonUtil$1ReferenceClearingQueuePollingThread EMF Reference Cleaner is created. This keeps the classloaders and its classes alive which later results in the OOM.
Is it somehow possible to stop this thread when the application is undeployed?
Thanks for your help.
Regards,
Alexander
--
Alexander Gerbig, Dipl.-Wirt.-Inf. (FH)
Softwareentwicklung und -beratung
T +49 931 73046 747 | M +49 170 182 747 6 | F +49 931 260 798 29
***@systhemis.de<mailto:***@systhemis.de> | www.systhemis.de<http://www.systhemis.de/>
SYSTHEMIS AG | Ein Unternehmen der Prof. Thome Gruppe
Mergentheimer Str. 76a | 97082 W?rzburg | Zentrale: +49 931 730 46-700
Vorstand: Dr. Christian Schneider (Vors.), Steffen Hock
Aufsichtsratsvorsitzender: Prof. Dr. Rainer Thome | HRB: 10523 (W?rzburg)