question

Upvotes
Accepted
26 1 2 5

Whenever i am opening 20 -30 streams in my application , i am getting java.lang.OutOfMemoryError: Java heap space error . is there any mechanism where streams are making some unnecessary data which needs to cleared or refreshed.Please Help.

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

1 Answer

Upvotes
Accepted
9.7k 49 38 60

Hi @rkumar,

There should be no obvious steps you need to explicitly take to manage data resources. Given we have no knowledge of your complete application nor visibility within the processing of data, the best way to eliminate concerns specifically related to opening multiple streams is to do this within a standalone application. Try opening multiple streams within one of the training examples and observe the behaviour. If you observe the out-of-memory behaviour with the example, then you can report your findings 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.

Click below to post an Idea Post Idea