Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle big files #15

Open
fidoriel opened this issue Oct 28, 2024 · 0 comments
Open

handle big files #15

fidoriel opened this issue Oct 28, 2024 · 0 comments
Labels
Type: Bug Bug or Bug fixes

Comments

@fidoriel
Copy link

When trying to extract big files I run into this issue:

Error: Cannot create a string longer than 0x1fffffe8 characters

Error: Cannot create a string longer than 0x1fffffe8 characters
    at Object.readFileSync (node:fs:441:20)
    at Object.<anonymous> (.npm/_npx/c0eed260a914dd8d/node_modules/har-extractor/bin/cmd.js:50:38)
    at Module._compile (node:internal/modules/cjs/loader:1546:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
    at Module.load (node:internal/modules/cjs/loader:1317:32)
    at Module._load (node:internal/modules/cjs/loader:1127:12)
    at TracingChannel.traceSync (node:diagnostics_channel:315:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:166:5)
    at node:internal/main/run_main_module:30:49 {
  code: 'ERR_STRING_TOO_LONG'

probably because of a limited string length: https://stackoverflow.com/questions/68230031/cannot-create-a-string-longer-than-0x1fffffe8-characters-in-json-parse

@azu azu added the Type: Bug Bug or Bug fixes label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Bug or Bug fixes
Projects
None yet
Development

No branches or pull requests

2 participants