You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have encountered a memory leak that happens when calling fs.createWriteStream from node-fs-extra. Since fs-extra calls gracefu-fs directly for this method I have reported the issue here on the graceful-fs repo: isaacs/node-graceful-fs#248
Since the leak is in graceful-fs I'm adding an issue here mainly as a heads up to anyone looking for a possible cause of their production memory leaks.
The issue is easily solvable by replacing fs-extra calls to createWriteStream with the native node one from node:fs.
The text was updated successfully, but these errors were encountered:
fs-extra
version:**11.2.0I have encountered a memory leak that happens when calling
fs.createWriteStream
fromnode-fs-extra
. Since fs-extra calls gracefu-fs directly for this method I have reported the issue here on the graceful-fs repo: isaacs/node-graceful-fs#248Since the leak is in
graceful-fs
I'm adding an issue here mainly as a heads up to anyone looking for a possible cause of their production memory leaks.The issue is easily solvable by replacing fs-extra calls to
createWriteStream
with the native node one fromnode:fs
.The text was updated successfully, but these errors were encountered: