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

High CPU utilization during tns run #4324

Closed
rosen-vladimirov opened this issue Jan 30, 2019 · 0 comments
Closed

High CPU utilization during tns run #4324

rosen-vladimirov opened this issue Jan 30, 2019 · 0 comments
Assignees
Labels
Milestone

Comments

@rosen-vladimirov
Copy link
Contributor

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):

  • CLI: 5.1.1
  • Cross-platform modules: Not applicable
  • Android Runtime: Not applicable
  • iOS Runtime: Not applicable
  • Plugin(s): Not applicable

Describe the bug
During tns run command (NOTE: Do not pass platform), CLI may keep the CPU at very high levels, even constantly at 100%. Investigating the issue showed that CLI spawns avdmanager list avds very often, which exhaust the machine resources.

To Reproduce
In any project run tns run. Ensure you livesync on both Android and iOS.
You must have at least one AVD created (no need to have it running). Issue is not reproducible in case you do not have AVDs.

Expected behavior
CLI should not utilize the CPU at 100%.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants