uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jörn Kottmann <kottm...@gmail.com>
Subject Re: Memory leak in UIMA-AS ?
Date Mon, 19 Apr 2010 11:16:39 GMT
After analyzing the memory dump and the uima-as code a little more
I think it is this map which keeps a reference for every processed CAS:
org.apache.uima.aae.controller.BaseAnalysisEngineController.statsMap

I am not sure when/how it should be cleared. Would be nice if someone
else can have a look.

Jörn

Jörn Kottmann wrote:
> Maybe there is one more memory leak.
>
> In the memory dump are 2M instances of ConcurrentHashMap.HashEntry 
> objects.
> The HashEntry objects have a String key and a Long value.
>
> Here is a sample:
> Key: 4d8fb444:128083b6841:-48ddinQ_HBaseWriter_1.3
> Value:  21472428254191715
> <../object/0x7fbc287f8200>
> Jörn


Mime
View raw message