Memory pressure during recursive directory size calculation
Open
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 209
- PR merge metrics
- No merged PRs in 30d
Description
I'm only running the following command and here are my resources available:
```
s4cmd du -r s3://mybucket
```
A couple hours in.. this is a big bucket but why does this tool need to allocate so much resources to do its job?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing `s4cmd du -r s3://mybucket` with a large bucket and trace the recursive directory-size calculation used by the `du` command. Done means the command no longer requires excessive memory while calculating a large bucket's size; the issue names no files or tests to guide further investigation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100