Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

324
Views
aws-sdk client-s3 Upload: chrome crash after 8 GB of upload

I want upload from browser a 17 GB file, but after 8 GB chrome crash for memory exhaustion

import { PutObjectCommandInput, S3Client } from '@aws-sdk/client-s3';
import { Progress, Upload } from "@aws-sdk/lib-storage";

const uploadParams: PutObjectCommandInput = {
  Bucket: 'my-bucket',
  Key: 'my-file',
  Body: file, // is File from <input type="file">
};

const upload: Upload = new Upload({
  client: s3Client,
  params: uploadParams,
});

// start upload
await upload.done();

what I'm doing wrong?

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

AWS S3 has a 5GB size limit on a single PUT operation.

You need to initiate a multi-part upload and split the file into chunks (5GB for example) before uploading - this may also resolve your Chrome crashing.

Even if Chrome did not crash, your code wouldn't work as it is - chunk up the file and upload them one by one.

about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!