@littleking Try this thread. https://community.backtrader.com/topic/2707/out-of-memory-error-when-running-optstrategy/8?_=1637411279547