Running out of RAM
Running out of RAM
18 Aug 2015, 02:09
Hi,
I'm running a Windows 2012 Server VM with 4GB of ram and 2 processors.
If I run 3 instances of cAlgo at the same time, they eventually consume all the RAM and the hard faults increase until each instance of cAlgo stops responding.
Are there any tips for managing memory?
Lars
Replies
ClickAlgo
20 Aug 2015, 11:22
RE: RE:
Paul_Hayes said:
MarsBarsLars said:
Hi,
I'm running a Windows 2012 Server VM with 4GB of ram and 2 processors.
If I run 3 instances of cAlgo at the same time, they eventually consume all the RAM and the hard faults increase until each instance of cAlgo stops responding.
Are there any tips for managing memory?
Lars
Hi Lars,
4 GB is very low for a Windows Server, I use 12 GB alone on my PC as I have charts open, but only 2 GB on my VM as I have 1 instance of cAlgo open with 4 robots running 5 instances each, so 20 instances running automated and I use just over 1 GB RAM.
Try not having the charts open in cAlgo, if you leave the screens maximized, the processor will be working drawing the screen and consuming RAM, so when you have finished fiddling with your settings, minimize all screens and see how much RAM is used with Task Manager.
Do you have 3 instances of cAlgo open as you have 3 accounts running?
Also I almost forgot, it helps to close cAlgo down and restart to reclaim memory, when you restart do not backtest or optimise, do all this on your local pc, just open cAlgo and start robots without charts, this will use the least memory.
@ClickAlgo
moneybiz
27 Aug 2015, 20:58
RE:
MarsBarsLars said:
Hi,
I'm running a Windows 2012 Server VM with 4GB of ram and 2 processors.
If I run 3 instances of cAlgo at the same time, they eventually consume all the RAM and the hard faults increase until each instance of cAlgo stops responding.
Are there any tips for managing memory?
Lars
I created a robot which periodically frees the excess memory.
Check here: Memory Manager Bot
@moneybiz
MarsBarsLars
29 Aug 2015, 14:09
RE: RE:
Hi, yes 3 accounts running 3 algos each.
Paul_Hayes said:
MarsBarsLars said:
Hi,
I'm running a Windows 2012 Server VM with 4GB of ram and 2 processors.
If I run 3 instances of cAlgo at the same time, they eventually consume all the RAM and the hard faults increase until each instance of cAlgo stops responding.
Are there any tips for managing memory?
Lars
Hi Lars,
4 GB is very low for a Windows Server, I use 12 GB alone on my PC as I have charts open, but only 2 GB on my VM as I have 1 instance of cAlgo open with 4 robots running 5 instances each, so 20 instances running automated and I use just over 1 GB RAM.
Try not having the charts open in cAlgo, if you leave the screens maximized, the processor will be working drawing the screen and consuming RAM, so when you have finished fiddling with your settings, minimize all screens and see how much RAM is used with Task Manager.
Do you have 3 instances of cAlgo open as you have 3 accounts running?
@MarsBarsLars
MarsBarsLars
29 Aug 2015, 14:10
RE: RE:
Shot!
I'll give it a bash.
moneybiz said:
MarsBarsLars said:
Hi,
I'm running a Windows 2012 Server VM with 4GB of ram and 2 processors.
If I run 3 instances of cAlgo at the same time, they eventually consume all the RAM and the hard faults increase until each instance of cAlgo stops responding.
Are there any tips for managing memory?
Lars
I created a robot which periodically frees the excess memory.
Check here: Memory Manager Bot
@MarsBarsLars
ClickAlgo
19 Aug 2015, 12:59
RE:
MarsBarsLars said:
Hi Lars,
4 GB is very low for a Windows Server, I use 12 GB alone on my PC as I have charts open, but only 2 GB on my VM as I have 1 instance of cAlgo open with 4 robots running 5 instances each, so 20 instances running automated and I use just over 1 GB RAM.
Try not having the charts open in cAlgo, if you leave the screens maximized, the processor will be working drawing the screen and consuming RAM, so when you have finished fiddling with your settings, minimize all screens and see how much RAM is used with Task Manager.
Do you have 3 instances of cAlgo open as you have 3 accounts running?
@ClickAlgo