OOM cause by com.refinitiv.ema.access.OmmConsumerImpl Ojbect costing large memory

Hi we met OutOfMemory issue in our service. we are using dependency below :

        <dependency>            <groupId>com.refinitiv.eta</groupId>            <artifactId>eta</artifactId>            <version>3.7.0.0</version>        </dependency>                <dependency>            <groupId>com.refinitiv.ema</groupId>            <artifactId>ema</artifactId>            <version>3.7.0.0</version>        </dependency>

we deployed service on our server. posting message to trep (about 950 rics post every 5 mins).

after around 8 days. OOM issue occur.

we have export the heapdump file and did some analysis.

we found that most memory used by a OmmConsumerImpl object.

1695632850006.png

1695632744532.png

we are using OmmConsumer.submit to post message. each post event we will create new OmmConsumer and release it after all AckId return backed.

would you help to give some advice. thanks!

Find more posts tagged with

Sort by:
1 - 1 of 11
    User: "Gurpreet"
    Accepted Answer

    Hi @denny.w.h.zhong,

    I have not experienced this issue. My first guess would be that Spring Framework is not releasing the reference to the old objects. It should be fairly easy to try a barebone EMA example application to post your instruments and compare the heap memory.

    Please let us know your findings.