For code/output blocks: Use ``` (aka backtick or grave accent) in a single line before and after the block. See:

Too high RAM consumption during optimization

  • Hello,

    I'm trying to optimize a strategy with 4 parameters and 1H/1Year timeframe.
    I have a PC with 32 GB of ram, every minute optimization eats around 0.5 - 1GB of RAM, when RAM usage ram usage reached 67 GB (thanks to swap), python crashed.

    Such high memory consumption during optimization is normal for backtrader?

  • Seems like the cause was pyfolio analizer

Log in to reply