Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting.
jordanlanch opened this issue · comments
I have 5 months of data, but when I start backtesting I get a memory overflow error.
but in mongo I already put the allowDiskUse().
but I don't know if I have to put it directly in the code when the query is done.
resolve it by creating in index in date.
db.trades.createIndex( { 'date': 1 } )