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

Increase GridFS max chunk size

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.11.3, 2.12.0
    • Affects Version/s: None
    • Component/s: GridFS
    • Labels:
      None
    • Environment:
      windows 7

      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 ?

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

              Created:
              Updated:
              Resolved: