Skip to content

Crash browser on large file #291

@mehmetranas

Description

@mehmetranas

I can not uload a large file. I think there is a memory crash on large file upload. Is there any config to solve my issue?
here is my configuration

projectFileFlowConfig = {
    uploadMethod: "PUT",
    testChunks: false,
    speedSmoothingFactor: 0.02,
    simultaneousUploads: 1,
    headers: {
      "Content-Type": "application/zip"
    },
    preprocess: (chunk: any) => {
      const value = uuidv4();
      const blockId = btoa(value);
      chunk.flowObj.opts.query["blockIds"].push(blockId);
      chunk.flowObj.opts.target =
        chunk.flowObj.opts.query["urlWithSas"] +
        `&comp=block&blockid=${blockId}`;
      chunk.preprocessFinished();
    }
  };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions