question

Upvotes
Accepted
3 0 0 4

EMA OMMConsumer - channel out of buffers

Hi,

after subscribing to a symbol list with around 1600 symbols I subscribe to those symbols individually.

I start receiving updates to individual symbols but after a short period of time (10s or so) i get below exception:

2017-03-22 08:02:10,948 [pool-3-thread-1] ERROR com.thomsonreuters.ema.access.OmmConsumerImpl - loggerMsg
    ClientName: EmaConsumer_1
    Severity: Error
    Text:    Call to rsslReactorDispatchLoop() failed. Internal sysError='0' Error text='channel out of buffers errorId=-4 errorText=channel out of buffers'. 
loggerMsgEnd

Can you please advise?

elektronrefinitiv-realtimeelektron-sdkrrtema-apielektron-message-apiOMMbuffer
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.

1 Answer

Upvotes
Accepted
9.5k 10 5 7

Hello @m87

This seems to be the same problem as

https://community.developers.refinitiv.com/questions/9781/ema-java-channel-out-of-buffers-errorid-4-error-wi.html

Please set GuaranteedOutputBuffers in EmaConfig.xml read by the application to increase buffer size used when writing data. For more detail of the configuration, please refer to EMA Configuration Guide(<EMA package>\Ema\Docs\EMAJ_ConfigGuide.pdf)

For example:

<Channel>
	    <Name value="Channel_1"/>
            <ChannelType value="ChannelType::RSSL_SOCKET"/>
            <GuaranteedOutputBuffers value="5000"/>
            ...  
</Channel>

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.