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

(error: Unexpected end of JSON input) #16

Closed
jashsu opened this issue May 6, 2016 · 11 comments
Closed

(error: Unexpected end of JSON input) #16

jashsu opened this issue May 6, 2016 · 11 comments

Comments

@jashsu
Copy link

jashsu commented May 6, 2016

Getting this error from my takeout json. Not much to go on in the js console.

@tbolick
Copy link

tbolick commented May 31, 2016

Same error. Can provide file if needed. (345MB)

@Frankster-NL
Copy link

And the same here (300MB JSON file)

@theopolisme
Copy link
Owner

Hi all - thanks for the reports. Yes, there is an issue with processing files over 256 MB. It has been fixed in the Pro version of the visualizer, but the fix has not yet been ported over to the free heatmap tool. The crux of the issue is in-browser memory limits for a single object (and/or hitting total RAM capacity). The fix involves steaming the JSON into memory instead for files over ~256 MB.

I anticipate having the fix live in the next month or so; at present I am abroad and sans computer which severely inhibits productivity. Thanks for your patience - I will drop another comment when the issue has been resolved.

Best,
Theo

@sandrotosi
Copy link

any update on this?

@perringaiden
Copy link

Got the same here. 277MB file so just over the limit.

@nardz13
Copy link

nardz13 commented Dec 2, 2016

same issue here.

@abhisuri97
Copy link
Contributor

abhisuri97 commented Dec 4, 2016

@tbolick I am working on a fix for this, would you mind providing me with the 345 mb file so I can test? my email is suria AT seas DOT upenn DOT edu (please attach file as a downloadable link since my email can't handle files of that size)

@Sam-C-Dev
Copy link

Sam-C-Dev commented Jan 10, 2017

Same. I'll be happy to provide my file (~340MB). Let me know.
Thanks for the awesome works guys! Sweet project!

@arcataroger
Copy link

As an alternative, what about allowing gzip uploads? Would that help with the upload limit at all, or does it happen after file transfer?

@theopolisme
Copy link
Owner

@JustAnotherAmateur The files are actually never uploaded to a server - all processing happens locally.

Pull request #18 resolves the issue, but fell off my radar due to school and has not yet been merged into master - I will look into getting it merged now.

@arcataroger
Copy link

Thank you!

theopolisme added a commit that referenced this issue Jul 19, 2017
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

10 participants