For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See: http://commonmark.org/help/
why optimization is getting slower and slower
-
My computer has 16G memory and runs 16 threads cpu. At the beginning, its runs fast, each optimization only speed less than 2 seconds.
But hours later, it gets slower, why and how to fix?
-
@dindom999 You may try to track the memory consumption. Also it could be a problem with your code - but without seeing it, it is hard to tell.
Probably the following posts could be relevant:
https://community.backtrader.com/topic/2397/high-memory-consumption-while-optimizing-using-influxdb-data-feed
https://community.backtrader.com/topic/3552/multicore-optimization-cause-performance-degradation
https://community.backtrader.com/topic/2593/adding-influxdb-datafeeds