Uploaded image for project: 'Rya'
  1. Rya
  2. RYA-313

Rya Mongo Blows up on Large result sets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.10
    • 3.2.11
    • dao
    • None
    • Mongo DB with Rya 3.2.11-SNAPSHOT with a lot of data in Rya

    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.

      Here is the line of code

      Attachments

        Issue Links

          Activity

            People

              isper3at Andrew Smith
              mihalik Aaron Mihalik
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: