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

Description
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.
- Download the files from https://gist.github.com/peterflynn/9635216 and place them all in one folder
- Open the folder in Brackets
- 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.