You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "NichaRoj (via GitHub)" <gi...@apache.org> on 2023/05/02 06:36:25 UTC

[GitHub] [beam] NichaRoj opened a new issue, #26495: [Bug]: Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting.

NichaRoj opened a new issue, #26495:
URL: https://github.com/apache/beam/issues/26495

   ### What happened?
   
   I ran a job with Google Cloud Dataflow with `MongoDbIo.Read` as following
   
   ```
   MongoDbIO.Read inputIO = MongoDbIO.read()
                   .withUri(config.getMongoDBUri())
                   .withDatabase(config.getDatabase())
                   .withCollection(config.getCollection())
                   .withBucketAuto(true);
   ```
   
   However the job failed with error `Sort exceeded memory limit of 104857600 bytes, but did not opt in to external sorting.`
   
   Typical solution would be using `allowDiskUsage` which seems to be applied in MongoDBIO for Go SDK according to #25013 Is this an oversight on Java SDK?
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [ ] Component: Python SDK
   - [X] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [X] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org