stackblitz / webcontainer-core

Dev environments. In your web app.
https://webcontainers.io
MIT License
3.93k stars 172 forks source link

Upload bug #1506

Open Pauli2G opened 2 months ago

Pauli2G commented 2 months ago

Describe the bug

When i upload a folder with a bunch of images, the project can't save anymore

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-ci7fzc?file=index.html,src%2Fscripts%2Fmain.js,src%2Fcss%2Fmain.css

Steps to reproduce

upload a folder with 50 images of ~~150kb into the project

Expected behavior

The folder goes live and the project saves normally

Parity with Local

Screenshots

image

Platform

Browser name  = Chrome
Full version  = 126.0.0.0
Major version = 126
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36 OPR/112.0.0.0 (Edition std-1)
performance.memory = {
  "totalJSHeapSize": 69435751,
  "usedJSHeapSize": 66485319,
  "jsHeapSizeLimit": 4294705152
}
Hash = 28a8ce1b

Additional context

No response