question

Upvotes
Accepted
21 0 1 4

Java out of memory error in batch application

Dear sir,

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.

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apibatchmemory
icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
Accepted
1.9k 6 9 16

Dear @rami.habbas,

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 .

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Upvotes
23k 22 9 14

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.

<GuaranteedOutputBuffers value="5000"/>

icon clock
10 |1500

Up to 2 attachments (including images) can be used with a maximum of 5.0 MiB each and 10.0 MiB total.

Click below to post an Idea Post Idea