Discussion:
[emf-dev] OOM Metaspace
Alexander Gerbig
2017-11-14 10:45:57 UTC
Permalink
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)
Ed Merks
2017-11-15 08:11:55 UTC
Permalink
Alexander,

Please us the forum to ask question.   Using
-Dorg.eclipse.emf.common.util.ReferenceClearingQueue=false you can
disable the creation of the thread.

Regards,
Ed
Post by Alexander Gerbig
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
<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)
_______________________________________________
emf-dev mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/emf-dev
Alexander Gerbig
2017-11-16 10:13:49 UTC
Permalink
Hi Ed,

thank you for your help and sorry for asking here and not in the forum.

Regards,
Alex
--
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/>




Am 15.11.2017 um 09:11 schrieb Ed Merks <***@gmail.com<mailto:***@gmail.com>>:


Alexander,

Please us the forum to ask question. Using -Dorg.eclipse.emf.common.util.ReferenceClearingQueue=false you can disable the creation of the thread.

Regards,
Ed


On 14.11.2017 11:45, Alexander Gerbig wrote:
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)



_______________________________________________
emf-dev mailing list
emf-***@eclipse.org<mailto:emf-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/emf-dev

_______________________________________________
emf-dev mailing list
emf-***@eclipse.org<mailto:emf-***@eclipse.org>
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/emf-dev


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)
Loading...