Skip to content

Size limit for the JSON trace event format? #99

@flx42

Description

@flx42

Hello, love the UI, very clean and responsive!

I'm wondering if there is still a size limit on the size of uploaded JSON files in the trace event format. My understanding is that chrome://tracing was limited to 256MB: google/trace-viewer#627

I tried to load a 900MB trace file into ui.perfetto.dev, and I got a crash:

To assist with debugging please attach or link to the trace you were viewing.

Viewed on: https://ui.perfetto.dev

Uncaught Error: RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
RuntimeError: abort(undefined). Build with -s ASSERTIONS=1 for more info.
    at abort (https://ui.perfetto.dev/v12.1.269/engine_bundle.js:26:11478)
    at _abort (https://ui.perfetto.dev/v12.1.269/engine_bundle.js:26:76163)
    at <anonymous>:wasm-function[42]:0x3131
    at <anonymous>:wasm-function[85]:0x6333
    at <anonymous>:wasm-function[3598]:0x20680d
    at <anonymous>:wasm-function[3581]:0x204ae7
    at <anonymous>:wasm-function[2178]:0x157818
    at <anonymous>:wasm-function[1839]:0x12986b
    at <anonymous>:wasm-function[785]:0x728eb
    at <anonymous>:wasm-function[3429]:0x1f047d

stderr: 
undefined

v12.1.269 a1386eaf2121de029e239a8d9b414ebcdd4c8257
UA: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.190 Safari/537.36

The README mentions:

web-based UI to visualize and explore multi-GB traces.

But I figure it might only apply for the Perfetto protobuf format, is that correct?

If yes, is there an existing way to convert from the trace event json format to the Perfetto protobuf format?

Thanks!

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions