You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ctakes.apache.org by "Johnsd11 (via GitHub)" <gi...@apache.org> on 2025/04/28 17:32:58 UTC

[I] [Question]: cTAKES running slower with each run [ctakes]

Johnsd11 opened a new issue, #62:
URL: https://github.com/apache/ctakes/issues/62

   ### What’s your question?
   
   I'm running ctakes both as an API and as a console app.   Each time I hit ctakes, the run time per document is getting incrementally slower by a few thousands of a millisecond per xml element (to normalize for different document sizes) than the previous document.  Compound this over 1000 documents in 20 minutes and the runs are going from 0.06 milliseconds per xml element to 1.5 milliseconds per xml element.  It's a very consistent 0.002 millisecond increase in the rate for each subsequent document I throw at cTAKES.
   
   Is there any caching or garbage collection or something I should be on the lookout to adjust or fix?
   
   Thanks
   
   
   ### Context
   
   _No response_
   
   ### What category does this question fall under?
   
   None
   
   ### Contact Details
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question]: cTAKES running slower with each run [ctakes]

Posted by "seanfinan (via GitHub)" <gi...@apache.org>.
seanfinan closed issue #62: [Question]: cTAKES running slower with each run
URL: https://github.com/apache/ctakes/issues/62


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question]: cTAKES running slower with each run [ctakes]

Posted by "seanfinan (via GitHub)" <gi...@apache.org>.
seanfinan commented on issue #62:
URL: https://github.com/apache/ctakes/issues/62#issuecomment-2962564583

   Closing as stale.   There have been 3 releases since its report.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question]: cTAKES running slower with each run [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 commented on issue #62:
URL: https://github.com/apache/ctakes/issues/62#issuecomment-2835988967

   There are many ways to package ctakes, and admittedly ours is unlike the
   console app and we have our own multithreaded API, but we regularly do
   millions of documents at a time and haven't seen this issue.  The core
   application with  our fairly standard pipeline is up for a month at a time
   with no degradation
   
   Are you using any unusual or deprecated annotators?  It could be that one
   of the less used ones doesn't separate initialization properly from it's
   processing method and is caching something that it shouldn't..   Are you
   seeing a concomitant growth in memory footprint?
   
   Try running it under jvisualvm it may give you a clue.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Question]: cTAKES running slower with each run [ctakes]

Posted by "Johnsd11 (via GitHub)" <gi...@apache.org>.
Johnsd11 commented on issue #62:
URL: https://github.com/apache/ctakes/issues/62#issuecomment-2835989554

   I am running a customized version of 3.2.2 so that’s not the best for troubleshooting.  But running jvisualvm and the only thing I’m noticing is the metaspace size increasing a small amount when a large document is run through ctakes, but its only increasing about 100KB over the course of an hour.  The heap size peaks and valleys for each document run is fairly consistent.  The total loaded classes goes from 8828 to 8833 over the same period.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@ctakes.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org