Hi all, I got below error message when I was trying to sort on huge mongodb collection data even I turn on allowDiskUse to true. Any suggestions? "Query failed with error code 292 and error message 'Executor error during find command :: caused by :: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting.' on server"
from("vm:fetchMongoDB") .process("ServiceProcessor") .setHeader(MongoDbConstants.ALLOW_DISK_USE, constant(true)) .setHeader(MongoDbConstants.SORT_BY, constant(Sorts.ascending("orderId"))) .setHeader(MongoDbConstants.BATCH_SIZE, constant(100)) .to("mongodb:mongoBean?database=mongoDb&collection=collectionName&operation=findAll") Thank you,