Details
Description
Simple queries that return a lot of results fail because mongo is trying to send all of the results back at once. For instance, if I have a lot of data and run something like:
SELECT * WHERE { ?s a ?t. }
I will get this exception.
Caused by: com.mongodb.MongoCommandException: Command failed with error 16389: 'aggregation result exceeds maximum document size (16MB)' on server localhost:27017. The full response is { "ok" : 0.0, "errmsg" : "aggregation result exceeds maximum document size (16MB)", "code" : 16389 }
I think we need to toss in a "AggregationOptions with Batch = 1000", but I couldn't get that to work immediately. Somebody with more mongo experience needs to look at this.
Attachments
Issue Links
- links to