[ https://issues.apache.org/jira/browse/UIMA-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jörn Kottmann closed UIMA-1540. ------------------------------- Resolution: Fixed Now after doing a fresh checkout the error disappeared. I will reopen the issue if I see the mentioned errors again. > Uima AS client consumes too much CPU while waiting for a free CAS > ------------------------------------------------------------------ > > Key: UIMA-1540 > URL: https://issues.apache.org/jira/browse/UIMA-1540 > Project: UIMA > Issue Type: Bug > Components: Async Scaleout > Affects Versions: 2.2.2AS > Reporter: Jerry Cwiklik > Assignee: Jerry Cwiklik > Fix For: 2.3AS > > > The UIMA AS client enters a busy loop in the getCAS() in > BaseUIMAAsynchronousEngineCommon_impl. Since a CAS instance may not be > available for awhile, this code wastes CPU cycles by continuously testing for > null and trying again. Put the thread to sleep for some time before testing > for CAS availability again. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.