uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Cwiklik (JIRA)" <uima-...@incubator.apache.org>
Subject [jira] Closed: (UIMA-1310) Fix Uima AS Client memory leak
Date Thu, 02 Apr 2009 14:25:13 GMT

     [ https://issues.apache.org/jira/browse/UIMA-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jerry Cwiklik closed UIMA-1310.
-------------------------------

    Resolution: Fixed

When the Uima AS client stops, notify the internal queue so that a reader thread breaks out
of the take() method. Subsequently, the reader thread checks the state of the client, finds
it stopped which causes the thread to stop. 

> Fix Uima AS Client memory leak
> ------------------------------
>
>                 Key: UIMA-1310
>                 URL: https://issues.apache.org/jira/browse/UIMA-1310
>             Project: UIMA
>          Issue Type: Bug
>          Components: Async Scaleout
>            Reporter: Jerry Cwiklik
>            Priority: Critical
>
> While running testcases in debug mode in eclipse there is evidence of a memory leak.
One of the threads in the Uima AS client is not terminating when the testcase stops. It looks
like a thread in BaseUIMAAsynchronousEngineCommon_impl.serveCASes() is not stopping. This
thread is reading an internal queue containing CASes destined for the remote service. It blocks
in the take() method of the queue and thus causing a leak.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message