We are using one EMA consumer batch application to collect markets, stocks etc. After a while, application breaks and it is mostly doing so when the whole markets are open. It is retaining heap memory up to 3GB. We have already increased the java max heap size to 4GB. The class holding the heap is com.thomsonreuters.upa.valueadd.reactor.WorkerEvent.
This issue has been fixed since in Elektron-SDK 1.2.0. So, we recommend you upgrade the EMA Java library to the latest version.
As of 20th August 2018, the newest version is Elektron SDK - Java - 1.2.1 which can be downloaded from here .
Is it possible you are using default output buffers?
If you attempt to large subscription, could be the cause.
Suggest using file-based configuration and modifying GuaranteedOutputBuffers parameter according to your subscription needs.
Have created server side solution using EMA API for fetching prices. The service gets stalled after sending batch request with exception noted below. The issue occurs intermittently and required restart of application.