Log files (or maybe event files)

Created at 10 Aug 2019, 19:57
RO

rony_dubruel

Joined 06.06.2019

Log files (or maybe event files)
10 Aug 2019, 19:57


Hello,

When I run a cbot, lot's of records get written to the log file(if I Print) but also to the events file. When I test over a long period, the events file eventually gets full which means the records at the beginning are deleted. Same for the log file.

What's worse is that in many occasions the cbot crashes by lack of memory on the pc. I have a 4GB PC with Windows 10.

Is there any way to limit the size of the events and/or log file? Or to delete it after a while?

Thank you

Rony Dubruel


@rony_dubruel
Replies

ClickAlgo
11 Aug 2019, 13:58

Hi, Rony,

If you can I would upgrade to at least 16GB RAM for your working PC, with a VPS 2GB is the lowest you want to go and 4GB is more than enough.

You can limit your windows event log file size

https://windows.tips.net/T012732_Adjusting_the_Size_of_an_Event_Log.html

https://support.microsoft.com/en-gb/help/957662/recommended-settings-for-event-log-sizes-in-windows

You may also be interested in the memory manager tool. run this after each backtest or optimization and also set it to automatic flush.

Paul Hayes
Sales & Marketing
Emailcontact@clickalgo.com
Phone: (44) 203 289 6573
Websitehttps://clickalgo.com

Twitter | Facebook | YouTube | Pinterest | LinkedIn

PS: Why not join our instant chat group on Telegram or help us create a Q&A programming community on Stack Exchange.


@ClickAlgo