uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swirl <swirl...@yahoo.com>
Subject Re: Running Uima in Tomcat (loading of large model)
Date Fri, 19 Jul 2013 09:15:20 GMT
Marshall Schor <msa@...> writes:

> 
> 
> On 7/16/2013 10:38 PM, swirl wrote:
> > I am wrapping a Uima analysis engine in a Tomcat.
> >
> > This AE loads and parses a large model file (300Mb).
> > The loading time of this model takes 3min. This is unacceptable if users 
have 
> > to wait so long to do analysis on one document.
> >
> > What are the possible ways to reduce the loading time? 
> The basic UIMA lifecycle includes the possibilities of loading the model 
at
> "startup" time, and then leaving it loaded.  Would this work for your 
case?  No
> need for UIMA-AS, here.  The pipeline would be loaded and "waiting" to 
receive a
> CAS to work on; the model would be retained in memory between calls to 
process().
> 
 

Thanks Marshall,
I am intrigued by the possibility of Uima framework loading the model at 
"startup" time, can you point out to me where I can start looking for this 
function?



Mime
View raw message