Skip to content
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

Fix/Trace agent eats up heap, or crashes with segmentation fault on v6.3.1 #115

Closed
wants to merge 3 commits into from

Conversation

dszakallas
Copy link
Contributor

Node v6.3.1 introduced a change the resulted in timers running on schedule. This change duplicated the number of expired timeout callbacks to be handled / iteration.
In our tests, timers with interval 0 were registered multiple times and never deregistered.
This overwhelmed the node process, that's why it crashed.

This PR introduces a change, so that timers have to be started explicitly. This means that in tests that don't rely on them, they won't be started at all.

resolves #114

@dszakallas dszakallas closed this Jul 27, 2016
@dszakallas dszakallas deleted the fix/agent-test-fake-timers branch July 27, 2016 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Memory allocation failure on node v6.3.1
1 participant