react-component / react-component/upload
upload a directory which size is very bigger(above 100G), this component will make the chrome memory usage to exceed 2G, and the crash
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 804
- Forks
- 323
- Avg merge
- 12m
- Merged PRs (30d)
- 1
Description
Hi guys,
this upload component will make the chrome memory usage to exceed 2G, and the webpage will crash, if i specific a substantial directory, but if i use the raw input element, the chrome is ok. (i make the webkitdirectory is true).
so is this bug?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the crash with the upload component, a directory larger than 100G, and webkitdirectory enabled, then compare it with the raw input element. Trace the directory-upload path and measure Chrome memory usage; done means large directory uploads no longer cause the webpage to crash.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, performance, web-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100