Problem with huge files
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- cli
Research direction
Start in tib-cli.js at upload_domain_list around line 118 and follow its call from line 66. Reproduce the failure with a file that exceeds available memory and with a file larger than 4GB; done means both uploads complete without the out-of-memory crash or the Buffer.allocUnsafe size error.
Written by the indexing model from the issue text.
Description
Crash occurs when the target file was not fit into the memory:
TheInternetBackup.com Zone Submission CLI tool, version 1.0.0
✓ Authenticated to TheInternetBackup API successfully.
#
# Fatal error in , line 0
# API fatal error handler returned after process out of memory
#
Illegal instruction
And there is also problem with submitting files large than 4GB:
TheInternetBackup.com Zone Submission CLI tool, version 1.0.0
✓ Authenticated to TheInternetBackup API successfully.
(node:32047) UnhandledPromiseRejectionWarning: RangeError: "size" argument must not be larger than 2147483647
at Function.Buffer.allocUnsafe (buffer.js:253:3)
at tryCreateBuffer (fs.js:528:21)
at Object.fs.readFileSync (fs.js:568:14)
at upload_domain_list (~/src/theinternetbackup-cli/tib-cli.js:118:22)
at ~/src/theinternetbackup-cli/tib-cli.js:66:8
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:32047) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)
(node:32047) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
- Dominant language
- JavaScript
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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.
More from mandatoryprogrammer/theinternetbackup-cli
-
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
All issues in mandatoryprogrammer/theinternetbackup-cli
Similar issues
-
[quality] useFocusTrap's Shift+Tab wrap and non-Tab/non-Escape key arms are never driven end to endPossibly taken @hivecommons-hive claimed this today. Openagent/quality hive/covered-by-pr hive/hosted-available-lke648397-260827-5n31 quality testing
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
agentic-workflows
Difficulty 1/5 Under an hour Newbie friendliness 85/100
githubnext/gh-aw-workshop#4220 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
JuliusBrussee/caveman#1189 ·
Maintainers usually reply within 1 day
-
priority:low ready-for-dev
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
OpenHands/extensions#738 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
invoiceninja/invoiceninja#13320 ·
Maintainers usually reply within 1 day