Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Code hints: CPU stays at 100% with specific project, may eventually crash #7245

@peterflynn

Description

@peterflynn

This code is derived from the following project: https://github.com/etrepum/platformer-melon-js -- if you clone that and do a grunt build, you'll also hit the bug. The testcase here is simplified.

  1. Download the files from https://gist.github.com/peterflynn/9635216 and place them all in one folder
  2. Open the folder in Brackets
  3. Open melonJS-0.9.11.js

Result:
One CPU core goes to 100%, and Brackets memory usage climbs continuously. (Sometimes it seems to level off around 800-900 MB even though CPU remains at 100% afterward; other times memory usage keeps climbing until it crashes).

If any one of the 4 files is removed, Brackets tops out at about 400 MB of memory usage and CPU returns to normal afterward.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions