Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
When a UIMA context is set in the UimaContextHolder e.g. when a component initializes or processes - and then the component spawns a new thread, then the UimaContextHolder is inherited by the spawned thread. If the thread does not get garbage collected (e.g. because it is part of a global executor pool), then the UimaContext held by the UimaContextHolder can live way beyond its projected life-time without being garbage-collectable.