Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • TREP APIs /
  • RFA /
avatar image
Question by sri-satya-kri.challa · Apr 04, 2019 at 10:20 AM · treprfaworld-checkrfa-apimemory

Excessive memory usage when using RFA8 libraries

We are using RFA8 libraries to connect to Reuters.

We have observed that the memory utilization of our service has increased and it is gradually increasing daily whenever we access reuters. Seems a memory leak with RFA8.

Please advise as we are afraid that our service might crash anytime due to OutOfMemoryException

People who like this

0 Show 0
Comment
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

2 Replies

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by veerapath.rungruengrayubkul · Sep 02, 2019 at 06:14 AM

The memory growth issue has been fixed on RFA .Net 8.0.1.E1 and later version. The memory usage keep on increasing when application tried to repeatedly create and destroy OMMConsumer event source.

------------------
rfanet8.1.0.E1.win
------------------
	[RFA-501] - CaseId 07546808 Memory Growth in RFA.Net when multiple threads repeatedly initialize RFA, request item and uninitialize RFA.
Comment

People who like this

0 Show 0 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
Answer by Lars-at-Addicticks · Apr 04, 2019 at 01:09 PM

You haven't specified which flavour of RFA you are using (Java, C++, etc).

Yet, I'll attempt a guess:

RFA library has an internal queue (by default) which acts as a buffer between what the library receives from the wire and your application's processing of events. If your application processes events too slowly then this in-memory queue will grow leading to an ever increasing memory usage. Thus, in such case, the real culprit is that your event processing is simply too slow. Try to review exactly what your are doing in the event processing. As an example, if your application receives 10,000 msg per seconds from TREP but your logic can only handle say 1,000 events per second then excessive queuing is bound to occur. If it continues for an extended period of time then your application will eventually run out of memory.

Comment
Jirapongse

People who like this

1 Show 1 · Share
10 |1500 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

avatar image
sri-satya-kri.challa · Apr 12, 2019 at 04:42 AM 0
Share

In our WCF event processing, there is no such concrete logics that could slow down the event processing. Our logic accepts the requests from the users and responds back.

The memory increase is even observed under very low load conditions probably with count of requests less than 30 per cycle. The WCF service is hosted on windows service and the memory utilization of the service is gradually

With respect to memory footprints, the same part of our code is behaving normally with RFA.NET 7 libraries whereas the heavy memory utilization is observed with RFA.NET 8 libraries.

Watch this question

Add to watch list
Add to your watch list to receive emailed updates for this question. Too many emails? Change your settings >
7 People are following this question.

Related Questions

Memory leak using Reuters RFA7.4.1.L1.win

RFA .NET excessive memory usage when subscribing to thousands of RIC codes

Unable to get rid of garbage

Application crashing with error 80131506

AccessViolationException when using RFA7

  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Connected Risk APIs
  • DSS
  • Data Fusion
  • Data Model Discovery
  • Datastream
  • Eikon COM
  • Eikon Data APIs
  • Electronic Trading
    • Generic FIX
    • Local Bank Node API
    • Trading API
  • Elektron
    • EMA
    • ETA
    • WebSocket API
  • Intelligent Tagging
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open Calais
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • RDMS
  • Refinitiv Data Platform
    • Refinitiv Data Platform Libraries
  • Rose's Space
  • Screening
    • Qual-ID API
    • Screening Deployed
    • Screening Online
    • World-Check One
    • World-Check One Zero Footprint
  • Side by Side Integration API
  • TR Knowledge Graph
  • TREP APIs
    • CAT
    • DACS Station
    • Open DACS
    • RFA
    • UPA
  • TREP Infrastructure
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • Workspace SDK
    • Element Framework
    • Grid
  • World-Check Data File
  • 中文论坛
  • Explore
  • Tags
  • Questions
  • Badges