Discover Refinitiv
MyRefinitiv Refinitiv Perspectives Careers
Created with Sketch.
All APIs Questions & Answers  Register |  Login
Ask a question
  • Questions
  • Tags
  • Badges
  • Unanswered
Search:
  • Home /
  • Elektron /
  • EMA /
avatar image
Question by luxiangyuan · Sep 10, 2019 at 10:11 PM · ema c++

Excessive memory usage when use rmtestBuffer.apply()

hello:

I found my memory useage increase quickly from 1% to 27% after I decode HKSE brokers use "rmtestBuffer.apply()"。


I develop with EMA C++ sdk 1.3.1;

when I decode HKSE brokers with RIC such as "0874bk.HKd", the num of RIC I requested is 14000+

and use "rmtestBuffer.apply()" to decode the updateMsg refer to "310MarketPriceRmtes";

my memory usage increase quickly.

memory usage do not decode brokers: 1%

memory usage do decode brokers: 27%

the detail info as "https://community.developers.refinitiv.com/questions/47273/ema-c-get-illegible-contents-in-updatemsg-of-broke.html"


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.

1 Reply

  • Sort: 
avatar image
REFINITIV
Best Answer
Answer by jirapongse.phuriphanvichai · Sep 24, 2019 at 10:16 AM

@luxiangyuan

I think it is expected behavior when having a lot of thomsonreuters::ema::access::RmtesBuffer objects used to cache the RMTES strings.

0874bk.HKd is a page record which contains "ROW80_1" to "ROW80_13" fields which require RmtesBuffer to store the RMTES strings.

If you have a lot of page record RICs in 14000+ subscribed RICs, the application will require more memory in order to cache the strings.


page.png (82.7 KiB)
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.

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 >
5 People are following this question.

Related Questions

EMA Issue with update items

EMA C++ - How to implement a provider accepting post requests

[EMA C++] Can registerClient() & onRefreshMsg() run in different thread?

Is there a total count limit of quote for TREP?

how do i add EMAconfig in ema c++ and use it?

  • Feedback
  • Copyright
  • Cookie Policy
  • Privacy Statement
  • Terms of Use
  • Careers
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Alpha
  • App Studio
  • Block Chain
  • Bot Platform
  • Calais
  • 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
  • Legal One
  • Messenger Bot
  • Messenger Side by Side
  • ONESOURCE
    • Indirect Tax
  • Open PermID
    • Entity Search
  • Org ID
  • PAM
    • PAM - Logging
  • ProView
  • ProView Internal
  • Product Insight
  • Project Tracking
  • 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
  • TRIT
  • TRKD
  • TRTH
  • Thomson One Smart
  • Transactions
    • REDI API
  • Velocity Analytics
  • Wealth Management Web Services
  • World-Check Data File
  • Explore
  • Tags
  • Questions
  • Badges