Skip to content
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

measureUserAgentSpecificMemory API seems inaccurate in WASM mode #60280

Open
kenzieschmoll opened this issue Mar 7, 2025 · 1 comment
Open
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.

Comments

@kenzieschmoll
Copy link
Contributor

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:

@kenzieschmoll kenzieschmoll added the area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop. label Mar 7, 2025
@kenzieschmoll
Copy link
Contributor Author

CC @srujzs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-web Use area-web for Dart web related issues, including the DDC and dart2js compilers and JS interop.
Projects
None yet
Development

No branches or pull requests

1 participant