-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
tls: fix SecurePair external memory reporting #11896
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
tls: fix SecurePair external memory reporting #11896
Conversation
Ensure that AdjustAmountOfExternalAllocatedMemory() is called when the SecurePair is destroyed. Not doing so is not an actual memory leak but it makes `process.memoryUsage().external` wildly inaccurate and can cause performance problems due to excessive garbage collection.
|
parallel/test-timers failing on the fedora23 buildbot is probably a flake but just in case: https://ci.nodejs.org/job/node-test-pull-request/6956/ |
|
There was some red in that CI that should be unrelated, but just to be safe: https://ci.nodejs.org/job/node-test-pull-request/6969/ |
Ensure that AdjustAmountOfExternalAllocatedMemory() is called when the SecurePair is destroyed. Not doing so is not an actual memory leak but it makes `process.memoryUsage().external` wildly inaccurate and can cause performance problems due to excessive garbage collection. PR-URL: #11896 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
|
New CI was all green. Landed in 86d74a2 |
Ensure that AdjustAmountOfExternalAllocatedMemory() is called when the SecurePair is destroyed. Not doing so is not an actual memory leak but it makes `process.memoryUsage().external` wildly inaccurate and can cause performance problems due to excessive garbage collection. PR-URL: #11896 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Anna Henningsen <[email protected]>
|
@bnoordhuis v6.x? |
|
@MylesBorins Yes. |
Ensure that AdjustAmountOfExternalAllocatedMemory() is called when
the SecurePair is destroyed. Not doing so is not an actual memory
leak but it makes
process.memoryUsage().externalwildly inaccurateand can cause performance problems due to excessive garbage collection.