Versions 1.6.4 and 1.6.5 Memory Leak

Moderator: Moderator

Versions 1.6.4 and 1.6.5 Memory Leak

Postby aerich » Fri Dec 23, 2022 8:45 pm

Hello,

I have compiled a trading application in c++ on Linux,
using most of the ForexConnect functions, including
getting market data, account info, offers, trades, and
opening or closing trades.

If I run a test program to check the operation of the
API, everything works perfectly, except:

1. Getting history prices (response listener), and
2. Getting offers table (table manager)

With the above funtions, all the requested data
DOES come through perfectly, BUT I get a progressive
memory leak after a few minutes. After a few hours,
this grows from nothing to 10 Mbytes, and after
24 hours this is now 50 Mbytes plus.

All of my interface code has been checked, but
nothing found that could produce this leak.

The leak is on HEAP MEMORY, according to the
Linux process monitor. But this could be in ANY
ONE of the dozens of libraries used by Forex
Connect.

The leak started from version 1.6.4 but was not
fixed in version 1.6.5

All libraries, including test_samples and threading,
were properly pre-compiled and linked to the
final application using the latest gcc tools.

Has anybody else seen this memory leak?

Thanks :)
aerich
 
Posts: 1
Joined: Fri Dec 23, 2022 8:28 pm

Return to ForexConnect API

Who is online

Users browsing this forum: No registered users and 6 guests