question

Upvotes
Accepted
21 0 2 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.

refinitiv-realtimeelektronelektron-sdkema-apirrtelektron-message-apibatchmemory
icon clock
10 |1500

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

Upvotes
Accepted
1.9k 7 11 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 512.0 KiB each and 1.0 MiB total.

Upvotes
32.2k 41 11 20

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 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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