Skip to content
This repository has been archived by the owner on Apr 27, 2021. It is now read-only.

Error processing the file (big file) #28

Open
wardpeet opened this issue Dec 15, 2015 · 8 comments
Open

Error processing the file (big file) #28

wardpeet opened this issue Dec 15, 2015 · 8 comments

Comments

@wardpeet
Copy link

Cli works fine but webapp keeps throwing Error processing the file.
The timeline.json file is 12.8mb. When i upload aerotwist.json it works fine. Probably because the file it soo big?

@paullewis
Copy link
Contributor

There's generally a problem with Python's JSON parsing when it comes to some of the trace files :-/ I'm still trying to figure it out, but if you'd be willing to post the file somewhere I'll gladly take a look and see if I can figure out what's going on. Did you take the file from WebPagetest or Timeline?

@wardpeet
Copy link
Author

Here you go http://www.webpagetest.org/result/151215_9S_1aa13ab94c8e695ee2b30666781d362c/

Same error with timeline from chrome so it probably depends on the file size.

@axemclion
Copy link

I had similar problem when I was working with browser-perf. The tracing files can get really big and the way I solved this was by reading the files in streams. This is just an array of records, and parsing the file as a stream let me parse.

node-big-rig could also benefit from reading the stream instead of reading the entire big file

@datrinh
Copy link

datrinh commented Apr 29, 2016

I have the same problem. It says JSON parse error
My file is 25 MB tho :/ Link to json file: https://www.dropbox.com/s/ui5udnmv96jqjb7/timeline_single.json?dl=0

@axemclion
Copy link

@datrinh Did you try using http://github.com/axemclion/browser-perf/ ?

@datrinh
Copy link

datrinh commented Apr 29, 2016

@axemclion No, I haven't. I didn't plan on setting up multiple tools if possible tho :)

@datrinh
Copy link

datrinh commented Jun 14, 2016

I'm still having the error even on smaller files (5 MB)...
Is there any alternative app that I can use until this is fixed?

@zzarcon
Copy link

zzarcon commented Jul 11, 2016

Same issue for me, file size <7mb. I also tried disabling/enabling Timeline options like Js profile, Memory, Paint, Screeshots, etc. And still doesn't work.

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

No branches or pull requests

5 participants