You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using the command vizviewer --use_external_processor result.json to analyze a very large trace (3GB~), the Perfetto UI warns about a old Trace Processor binary.
Incompatible RPC version
The Trace Processor instance on 127.0.0.1:9001 is too old.
This UI requires TraceProcessor features that are not present in the
Trace Processor native accelerator you are currently running.
If you continue, this is almost surely going to cause UI failures.
Please update your local Trace Processor binary:
```
curl -LO https://get.perfetto.dev/trace_processor
chmod +x ./trace_processor
./trace_processor --httpd
```
UI version code: v47.0-02b2414d5
UI RPC API: 12
Trace processor version: Perfetto v37.0-034ebb3d5 (034ebb3d57140170ed3d29fce03303c70ea2c57b)
Trace processor version code:
Trace processor RPC API: 8
Perfetto indeed provided a builtin wasm option, but since my result.json is very large, it will exceed the memory limit of a browser tab:
Oops! Your WASM trace processor ran out of memory
The in-memory representation of the trace is too big for the browser memory limits (typically 2GB per tab).
You can work around this problem by using the trace_processor native binary as an accelerator for the UI as follows:
```
curl -LO https://get.perfetto.dev/trace_processor
chmod +x ./trace_processor
trace_processor --httpd /path/to/trace.pftrace
# Reload the UI, it will prompt to use the HTTP+RPC interface
```
If choose running on the old version, this error will occur:
Oops, something went wrong. Please file a bug.
UI: http://127.0.0.1:10000/v47.0-02b2414d5
WebSocket error (state=3)
Trace: not available (HTTP_RPC). Provide repro steps.
UA: Mozilla/5.0 (X11; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0
Log of vizviewer:
Loading and parsing trace data, this could take a while...
Downloading https://commondatastorage.googleapis.com/perfetto-luci-artifacts/v37.0/linux-amd64/trace_processor_shell
Running vizviewer
You can also view your trace on http://localhost:10000
Press Ctrl+C to quit
Problem
I'm using the command
vizviewer --use_external_processor result.json
to analyze a very large trace (3GB~), the Perfetto UI warns about a old Trace Processor binary.Perfetto indeed provided a builtin wasm option, but since my
result.json
is very large, it will exceed the memory limit of a browser tab:If choose running on the old version, this error will occur:
Log of
vizviewer
:Version
Installed by
pipx
The text was updated successfully, but these errors were encountered: