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.
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!