mongodb/mongo-java-driver — comment on commit f3031508b14f94d131cc8aef0f479c8549f9f6fb
File: src/main/com/mongodb/gridfs/GridFSInputFile.java line 207
By dgottlieb:

I considered doing that, but I didn't want a number like 3500000 because it gets hard to read and I considered doing some dividing and rounding/truncating to get 3.4MB or something like that.

That being said, I did want to explicitly point to *where* a developer can find the max value such that the error message would be:
less than or equal to 3.4MB (GridFS.MAX_CHUNKSIZE).