Navigation

    Backtrader Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    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

    Indicators/Strategies/Analyzers
    2
    2
    159
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      dindom999 last edited by

      My computer has 16G memory and runs 16 threads cpu. At the beginning, its runs fast, each optimization only speed less than 2 seconds.
      ec8f2d1a-c4ef-46d2-a24d-3f77502605ea-image.png

      But hours later, it gets slower, why and how to fix?
      a6e0d502-095b-4136-8ef2-aa11db65db7b-image.png

      vladisld 1 Reply Last reply Reply Quote 0
      • vladisld
        vladisld @dindom999 last edited by

        @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

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post
        Copyright © 2016, 2017, 2018, 2019, 2020, 2021 NodeBB Forums | Contributors