Memory usage

Created at 27 Oct 2022, 10:04
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!
MI

mindfulness

Joined 04.07.2021

Memory usage
27 Oct 2022, 10:04


Hello,

 

even with using the memory manager, the used memory is increasing overtime and i have to restart the bot after maybe two days. Is there another way to handle it?

For example on one VPS there are running two ctrade instances. One with 37 pairs/bots and one with 15. The VPS has 4 cores and 8 GB RAM. Here the usage after one day.


@mindfulness
Replies

firemyst
27 Oct 2022, 12:11 ( Updated at: 21 Dec 2023, 09:23 )

RE:

mindfulness said:

Hello,

 

even with using the memory manager, the used memory is increasing overtime and i have to restart the bot after maybe two days. Is there another way to handle it?

For example on one VPS there are running two ctrade instances. One with 37 pairs/bots and one with 15. The VPS has 4 cores and 8 GB RAM. Here the usage after one day.

How much writing to the log does the bot do? Eg, PRINT statements? You can't clear the log programmatically, and constantly writing to it will suck up memory.


@firemyst

Spotware
31 Oct 2022, 10:30

Dear mindfulness,

In order to investigate this further, we will need the cBot source code that will allow us to reproduce the problem.

Best regards,

cTrader Team


@Spotware