 the Node.js
internal threadpool. This can lead to surprising effects and performance
limitations in some applications.</p>
<p>Creating and using a large number of zlib objects simultaneously can cause
significant memory fragmentation.</p>
<pre><code class="language-js">const zlib = require('zlib');

const payload = Buffer.from('This is some data');

// WARNING: DO NOT DO THIS!
for (let i = 0; i &#x3C; 30000; ++i) {
  zlib.deflate(payload, (err, buffer) => {});
}
</code></pre>
<p>In the preceding example, 3