-
-
Notifications
You must be signed in to change notification settings - Fork 404
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
vizviewer fails attempting to open with a large (3.8G) result.json. #308
Comments
3.8G is pretty huge, are you using the default entry number? It is expected that WASM can't handle data this large. However, in theory, the external processor should be able to handle it. I tested locally and it worked with a 150M log. How large is your RAM? How much RAM the processor is using? |
I double checked the code, and the line that failed should not execute under My guess is your log is so large that the processor ran out of memory and crashed. |
same error here. I had a 4G
The processor process on the server seems to be running normally. |
@Arthur-Null did you confirm that with a smaller trace file, your method(opening a remote website on local machine) works? |
Yes, it works on a 10M trace file. |
Hmm. 4G trace file is indeed huge, but perfetto claimed to be able to handle it. I'm not entirely sure whether this is an issue with perfetto or viztracer. You can probably try to open the trace file with perfetto directly(of course it requires the externel processor as well). I can do the experiment when I have some time(and I need to generate a huge trace file). If standalone Perfetto can handle this file, then I'll invesitigate if viztracer did something wrong. |
FYI, this issue is still happening. has there been any resolution to this? I have a 3.2G file I'm trying to open and see all the same issues mentioned before. |
Did you use |
Yeah I tried both and I got the same error that the @Arthur-Null had |
If you can't open the trace file with original Perfetto, then there's nothing viztracer can do. viztracer is using a modified version of Perfetto but the key decoding ability is pure Perfetto. 4G trace is indeed huge and normally I would recommend to use filters to filter out some information, or do a less period of time. However, if you want to make this work, you can submit an issue in Perfetto repo. |
I created a large result.json with
python -m viztracer ...
, that run ended up with this message:...but a 3.8G
result.json
was produced, so thought I'd try to visualize it.vizviewer --server_only result.json
looked good, but eventually gave an error from Perfetto after loading 31%: "Oops! Your WASM trace processor ran out of memory"From the docs, I then tried:
vizviewer --server_only --use_external_processor result.json
This ran for much longer before serving up an http port, but failed much more quickly in the browser, this time with:
...but nothing in the logs visible in the console other than:
The text was updated successfully, but these errors were encountered: