-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
Aggressive terminal-notifier memory leak after failed test (v19.0.2) #2999
Comments
cc @mikaelbr |
Would have to investigate this some. Initially it looks like a problem with terminal-notifier: julienXX/terminal-notifier#173 |
I am also having this issue. Memory usage steadily has been climbing (and continues to). I was running Jest with watch mode.
EDIT: Brew isn't responsible for the
|
I'm also having this same issue. If there's something I could provide to help, please let me know. |
I also see this with Jest version Using the brew version of |
This is due to a error in There is no need to installing terminal-notifier through brew or trying to install it manually. node-notifier handles this and will keep up to date with the terminal-notifier bundle. As soon as the memory leak is fixed upstream I'll do a patch release of node-notifier with the updated vendor file. As for now I've added a failsafe after 30 seconds and forcing timeout on node-notifier end. It is currently in master. I haven't had the time to test it properly but as soon as I'm able I'll release it. Hopefully this will prevent most of the issue. This should be a temporary workaround and it should be fixed permanently in the terminal-notifier package. |
Closing this from the Jest side. Thanks @mikaelbr for working on this! |
Looks like this can be resolved now, opened a ticket: #5365 |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Bug
What is the current behavior?
There is an aggressive memory leak in the
terminal-notifier
process after running a failing test and passing the--notify
flag.Here's a minimal repo demonstrating the behavior:
https://github.com/swhamilton/jest-terminal-notifier-memory-leak
Jest version: jest-cli@^19.0.2
Current environment: OSX Sierra 10.12.3
The text was updated successfully, but these errors were encountered: