Unacceptable RAM usage !!!

Created at 13 Feb 2023, 22:54
How’s your experience with the cTrader Platform?
Your feedback is crucial to cTrader's development. Please take a few seconds to share your opinion and help us improve your trading experience. Thanks!
NC

ncel01

Joined 19.03.2020

Unacceptable RAM usage !!!
13 Feb 2023, 22:54


Dear Spotware,

Below is shown the RAM usage by cTrader (v4.6.3), without any cBots/indicators running, as well as no activity performed.
Furthermore, the app was launched from Friday to Monday evening, meaning that, during most of the time there was no market activity.

As you can easily see, after lauched the app was using ~400Mb of RAM and, in less than 72h, this was already 1.6Gb ( 4x more !l! ).

How would you describe an app with a such profile regarding RAM usage?
Because when I look at this I automatically think: this app has been designed to kill itself!

This is, obviously, not very apelative for any app, even more when it comes to trading.
In fact, no one can look at this and think that can relly on this app.

There have been already many updates, however, I don't really see any improvement when it comes to memory management.
I seriously advise you to review what your priorities are for future updates and mainly for the future of the platform. Because, so far, this does not seem to be one of those.

Please explicitly inform on what measures Spotware is taking to, once and for all, solve this unacceptable issue.
Keep in mind that, alternatively, traders can always find for an effective solution/alternative.

FYI, I’ve also sent a trouble shooting with the link to this thread.
Please also let me know about any additional information you need to be provided with, so that users can finally see some progress regarding the evident cTrader memory leaks.

Thank you!


@ncel01
Replies

Spotware
14 Feb 2023, 11:19

Dear ncel01,

Could you please send us the dotMemory snapshot at community@ctrader.com?

Best regards,

cTrader Team


@Spotware

ncel01
15 Feb 2023, 01:11

RE:

Spotware said:

Dear ncel01,

Could you please send us the dotMemory snapshot at community@ctrader.com?

Best regards,

cTrader Team

Hi Spotware,

The workspace file is bigger than 700MB.
I've just sent a link (WeTransfer) to this file via email.

Could you please provide feedback on this once you get to any conclusion(s)?
All the measures taken to see this solved will be highly appreciated.

Thank you.


@ncel01

ncel01
23 Feb 2023, 15:37

Dear Spotware team,

I hope I have provided you will all the necessary information.

Is there any update on the obvious cTrader memory leaks?

Thanks.


@ncel01

Petr01
24 Oct 2024, 09:23 ( Updated at: 24 Oct 2024, 11:29 )

Noticed the same problem after getting BSOD on “Memory Management” multiple times. I was observing memory consumption of cTrader and it went from 1700MB at the start to 2700MB in about 20 minutes, and still growing. My 64GB RAM can probably handle some load but i's flustrating to monitor it and restart cTrader time to time. Other platforms - MT4, ATAS - are working fine. CTrader is otherwise great platform.


@Petr01

PanagiotisCharalampous
24 Oct 2024, 11:33

RE: Unacceptable RAM usage !!!

Petr01 said: 

Noticed the same problem after getting BSOD on “Memory Management” multiple times. I was observing memory consumption of cTrader and it went from 1700MB at the start to 2700MB in about 20 minutes, and still growing. My 64GB RAM can probably handle some load but i's flustrating to monitor it and restart cTrader time to time. Other platforms - MT4, ATAS - are working fine. CTrader is otherwise great platform.

Hi there,

Are you running custom indicators/cBots (Your screenshot indicates that you do, there are 14 processes running)? If yes,  please remove them/stop them and let us know if the issue persists.

Best regards,

Panagiotis


@PanagiotisCharalampous

ncel01
30 Oct 2024, 10:59

Improvements to memory usage observed

Hello,

To be fair, it looks to me that a lot of progress has been made here lately :

The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.

Although there is always room for refinements, the improvements are clear.

@Panagiotis

Do you confirm that significant improvements to memory management have been performed lately?

Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.


@ncel01

PanagiotisCharalampous
30 Oct 2024, 13:21

RE: Improvements to memory usage observed

ncel01 said: 

Hello,

To be fair, it looks to me that a lot of progress has been made here lately :

The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.

Although there is always room for refinements, the improvements are clear.

@Panagiotis

Do you confirm that significant improvements to memory management have been performed lately?

Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.

Hi ncel01,

We do performance improvements on almost every update


@PanagiotisCharalampous

ncel01
31 Oct 2024, 07:43

RE: RE: Improvements to memory usage observed

PanagiotisCharalampous said: 

ncel01 said: 

Hello,

To be fair, it looks to me that a lot of progress has been made here lately :

The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.

Although there is always room for refinements, the improvements are clear.

@Panagiotis

Do you confirm that significant improvements to memory management have been performed lately?

Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.

Hi ncel01,

We do performance improvements on almost every update

Hi Panagiotis,

I mean major improvements, as this seems to me to be the case. I'd just like to be aware.


@ncel01

PanagiotisCharalampous
31 Oct 2024, 12:30

RE: RE: RE: Improvements to memory usage observed

ncel01 said: 

PanagiotisCharalampous said: 

ncel01 said: 

Hello,

To be fair, it looks to me that a lot of progress has been made here lately :

The RAM usage in time seems to be much more stable, even with cBots running. I am now able to keep cTrader open for weeks without noticing any relevant increase in memory usage.

Although there is always room for refinements, the improvements are clear.

@Panagiotis

Do you confirm that significant improvements to memory management have been performed lately?

Please always be mindful of any memory leaks when adding new features/tools, as this is crucial for the overall platform stability.

Hi ncel01,

We do performance improvements on almost every update

Hi Panagiotis,

I mean major improvements, as this seems to me to be the case. I'd just like to be aware.

Hi ncel01,

I am not sure how to answer your question. We do improvements and refactoring all the time. Depending on how you use cTrader, the impact could be major or minor. It is normal that after every major update, the following hotfixes and updates will deliver bug fixes and performance improvements to the major release. So from 5.0.0 to 5.0.40 is all about fixes and improvements.

Best regards,

Panagiotis


@PanagiotisCharalampous