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

API to know the memory use of Dart VM #28951

Closed
tomyeh opened this issue Mar 2, 2017 · 3 comments
Closed

API to know the memory use of Dart VM #28951

tomyeh opened this issue Mar 2, 2017 · 3 comments
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-enhancement A request for a change that isn't a bug

Comments

@tomyeh
Copy link

tomyeh commented Mar 2, 2017

It will be great if there is an API to know the memory use, so we can monitor the health status of a long-running server. For example, we can restart the VM if the consumption is too much (usually a leak, #27414).

@zoechi
Copy link
Contributor

zoechi commented Mar 2, 2017

I expected https://github.com/dart-lang/sdk/blob/master/runtime/vm/service/service.md#vm to provide that, but memory isn't mentioned.

@mit-mit mit-mit added the area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. label Mar 2, 2017
@zanderso zanderso added the type-enhancement A request for a change that isn't a bug label Mar 2, 2017
@zanderso
Copy link
Member

zanderso commented Mar 7, 2017

We already collect this information and expose it through the service protocol/Observatory, but I think we could/should add something to dart:io Platform for this. @floitschG @bkonyi

@zanderso zanderso added area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io and removed area-vm Use area-vm for VM related issues, including code coverage, and the AOT and JIT backends. labels Mar 7, 2017
@zanderso
Copy link
Member

Added in 9ce608e

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-core-library SDK core library issues (core, async, ...); use area-vm or area-web for platform specific libraries. library-io type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

4 participants