Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
memory error - why?

Why am I seeing a memory error? This algo only has ~70-80 stocks in its portfolio at any given time, and only trades weekly. I should be able to run a backtest starting in 2010, right? Am I doing something wrong?

3 responses

Here's another example. I have no way to tell directly why I'm getting a memory error. If I load this backtest into a tear sheet, the research memory usage only goes to 13%. Any ideas?

If I comment out the ordering, I still get a memory error for this one.

O.K. I'm stumped. This algo does almost nothing, and still runs out of memory.