NativeScript / NativeScript/nativescript-cli

Not freeing CPU usage after termination, will max out computer's CPU

Đang mở
#4,402 7 bình luận 0 reaction 1 người được giao Xem trên GitHub

@rosen-vladimirov đang làm issue này rồi.

Từ ngày 5/3/2019.

needs more info
Ngôn ngữ chính
JavaScript
Star
1.1k
Fork
204
Merge trung bình
1 ngày 9 giờ
Pull request đã merge (30 ngày)
8

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.