Skip to content

measureUserAgentSpecificMemory API seems inaccurate in WASM mode #60280

Open
@kenzieschmoll

Description

@kenzieschmoll

Results from measureUserAgentSpecificMemory API call:
memoryUsageInBytes: 6063731579
memoryInGb: 5.647290105931461

These numbers are significantly higher then when calling this API in non-wasm mode (JS).

Taking a heap snapshot from chrome DevTools showed a significantly smaller snapshot size:
Image

More context:

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-dart2wasmIssues for the dart2wasm compiler.needs-infoWe need additional information from the issue author (auto-closed after 14 days if no response)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions