*** More details:1/ in our demo application,which we can send you afterward directly through email because attachment has limit of 10mb,but we are sending you image of code for that class which causing issue, and there would like to focus you on this line:ommConsumer = EmaFactory.createOmmConsumer( config );
where we always get ommConsumer to be null – which is reason why our memory constantly increases (as we are constantly trying to create ommConsumer).
2/ please NOTE:
that we put wrong password on purpose, because like that would like to stimulate real life example what could happen if for any reason (bad connection for example) we can not create ommConsumer for lets say few hours. Then as consequence our memory constantly increasing and can cause ERROR memory leak.
3/ As proof that memory constantly increasing, we are sending you snaps of jprofiler (taken on each 5 minutes), where you can see that memory constantly increasing because of this 3 objects: BufferImpl, ElementSetDefEntryImpl, FieldSetDefEntryImpl
*** Question_1:
Do you maybe have some suggestion how we can destroy those 3 objects (we could not find the way because ommConsumer is constantly null), or some alternative way with goal to avoid memory leak error after constantly trying to create ommConsumer?
*** Question_2:
Is it possible to avoid constantly getting ERROR message in log file (to be displayed just once, or never):
com.refinitiv.ema.access.ChannelCallbackClient initializeReactor
SEVERE: loggerMsg
ClientName: ChannelCallbackClient
Severity: Error
Text: Failed to add RsslChannel(s) to RsslReactor. Channel name(s)
Instance Name Consumer_1_4
RsslReactor @69c79f09
RsslChannel null
Error Id -1
Internal sysError 0
Error Location RestProxyAuthHandler.execute
Error Text Failed to send HTTP request. Text: {"error":"access_denied" ,"error_description":"Invalid username or password." }
loggerMsgEnd