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.

elektronrefinitiv-realtimeelektron-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.

The same issue has been raised by the client in the case# 06393015. The case has been taken care of by Nipat.

This issue has been escalated to 3rd level support in OB.

Case status is Inprogress and Nipat still working with 3rd level support.

Please be informed that a reply has been verified as correct in answering the question, and has been marked as such.

Thanks,

AHS

Upvotes
Accepted
1.9k 7 10 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 40 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.