Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-851

Increase GridFS max chunk size

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Trivial - P5 Trivial - P5
    • 2.11.3, 2.12.0
    • None
    • GridFS
    • None
    • windows 7

    Description

      In GridFS.java:
      /**

      • file's chunk size
        */
        public static final int DEFAULT_CHUNKSIZE = 256 * 1024;

      /**

      • file's max chunk size
        */
        public static final long MAX_CHUNKSIZE = (long)(3.5 * 1000 * 1000);

      Can I increate MAX_CHUNKSIZE to 15*1000*1000 ?

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomliugen liugen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: