NativeScript / NativeScript/nativescript-cli
Not freeing CPU usage after termination, will max out computer's CPU
@rosen-vladimirov y travaille déjà.
Depuis le 5/3/2019.
- Langage dominant
- JavaScript
- Étoiles
- 1.1k
- Forks
- 204
- Merge moyen
- 1 j 9 h
- PR mergées (30 j)
- 8
Description
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.2.0
- Cross-platform modules: 5.1.2
- Android Runtime: 5.1.0
- iOS Runtime: 5.1.0
Describe the bug
Every time I rerun 'tns run' the previous CPU usage is not freed, but instead compounds. I often terminate the process by Ctrl+C, and each time I do this the free CPU goes down by ~10% and with 6-7 runs my Macbook is completely useless and I have to restart to get my CPU back. I cannot terminate processes to free it. Here is a sped up video showing my problem. https://www.youtube.com/watch?v=L_27UGBeOgA I downloaded an example template to show this happens with every project. I run the project 7 times in the video and each time I do it you can see my CPU slowly get maxed out. This only started happening after I upgraded to 5.2.0 from 5.1.0. This has completely brought my development to a standstill.
Guide de contribution
Ouvrir le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Évaluation
Cette issue n'a pas encore été évaluée.