mongodb/mongo-java-driver — comment on commit f3031508b14f94d131cc8aef0f479c8549f9f6fb
File: src/main/com/mongodb/gridfs/GridFS.java line 55
By scotthernandez:

This should be based on the max-bson-size from the currently connected server and not a constant.