[ https://issues.apache.org/jira/browse/UIMA-1540?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jerry Cwiklik updated UIMA-1540: -------------------------------- Affects Version/s: (was: 2.2.2AS) 2.3AS > 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.3AS > 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.