Node.js zlib中的内存泄漏

我正在使用nodejs提供的zlib进行一些测试。

enter image description here enter image description here

当我在一个循环中调用deflate函数5000次时,发生了内存泄漏。在Linux中,brk函数被调用了10000次以上(strace -cfe mmap,munmap,mprotect,brk -p {process ID})。

但是,当我使用setInterval每1秒调用5000次时,没有内存泄漏。并且brk功能在Linux中的发生率要低得多。

enter image description here enter image description here

在nodejs中,相同的数目称为5000,但是为什么在Linux中brk函数的调用数目不同? 我想这就像在Linux中重用内存空间一样。它是否正确?如果没有,确切原因是什么?