[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [emf-dev] OOM Metaspace

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 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-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/emf-dev