question

Upvotes
Accepted
2 1 0 2

API-TREP (RFA)

Exception in thread "_Defaults::RSSLSession Session EventQueueGroup" java.lang.OutOfMemoryError: Java heap space

at com.reuters.util.MsgKey.format(Unknown Source)

at com.reuters.rfa.internal.session.SvcGroup.makeSubRequest(Unknown Source)

at com.reuters.rfa.internal.session.SvcGroup.processRecoveryRetryReqMsg(Unknown Source)

at com.reuters.rfa.internal.session.SvcGroup.timerDispatch(Unknown Source)

at com.reuters.mainloop.channel.SelectTimerCmd.fireTimer(Unknown Source)

at com.reuters.mainloop.channel.ChannelMainLoop.fireExpiredTimers(Unknown Source)

at com.reuters.mainloop.channel.ChannelMainLoop.run(Unknown Source)

at com.reuters.rfa.internal.common.EventQueueMLThread.runImpl(Unknown Source)

at com.reuters.rfa.internal.common.InterruptibleThread.run(Unknown Source)

at java.lang.Thread.run(Thread.java:748)

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space

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

@dcruzf84

Hi,

Thank you for your participation in the forum.

Are any of the replies below satisfactory in resolving your query?

If yes please click the 'Accept' text next to the most appropriate reply. This will guide all community members who have a similar question.

Otherwise please post again offering further insight into your question.

Thanks,

AHS

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

1 Answer

· Write an Answer
Upvotes
Accepted
9.6k 10 7 7

Hello @dcruzf84

According to the stack trace, it is possible that the application is out of memory, due to slow processing data events/messages which is called slow consumer problem. Please see How to Diagnose and Solve Out-of-Memory Issues in RFA Java Applications which explains how to verify if it is slow consumer problem and the solution.

If the problem is not slow consumer, I suggest you try to use the latest RFA version which includes the fix for java.lang.OutOfMemoryError in RFA. If you face any difficulties downloading the package, please contact RDC administrator, rdc.administrator@thomsonreuters.com .For upgrading RFA Java, you can refer to my answer in this question.

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.