uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marshall Schor <...@schor.com>
Subject Re: Running Uima in Tomcat (memory issue)
Date Thu, 18 Jul 2013 15:20:49 GMT

On 7/16/2013 11:11 PM, swirl wrote:
> I am wrapping a Uima analysis engine in a Tomcat JSF webapp.
>
> This AE loads and parses a large model file (300Mb).
>
> I can call the AE and run it using SimplePipeline.runPipeline() via the 
> webapp UI.
>
> However, the large model took up a large memory chunk that won't go away even 
> after the AE is run to completion. 
>
> Does Uima do any clean up of in-memory object instances after the AE is 
> completed?
The application that embeds UIMA (SimplePipeline) includes a call (at the end of
processing) to the destroy() method.  This propagated to all annotator
implementations in the pipeline, and they can use this to unload things they
might have loaded.

-Marshall

Mime
View raw message