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

Handling really big files #63

Open
jarl-dk opened this issue Aug 21, 2020 · 1 comment
Open

Handling really big files #63

jarl-dk opened this issue Aug 21, 2020 · 1 comment

Comments

@jarl-dk
Copy link

jarl-dk commented Aug 21, 2020

I have a file of size 232830522671 bytes, that is 232GB.

When I try jshon -d sometag < large_file.json, it fails with

error: failed to allocate 232830522672 bytes
error: failed to read input

When i try cat large_file.json | jshon -d something cat fails writing to the pipe:

cat: write error: Broken pipe
@ninewise
Copy link

How much memory does your computer have? As I recall it, jshon buffers the whole file in memory before parsing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants