Michaël Zasso
Michaël Zasso
Hello @jobo322, do you have an opinion on this issue?
We would gladly accept a pull request to fix this :)
@nodejs/undici wdyt?
Can you try running `node` with for example `--max-old-space-size=128`? If there is a real memory leak, the process should crash when used memory reaches around 128MB.
`keepalive` is `false` by default, and it has nothing to do with the `connection: keep-alive` header. See https://fetch.spec.whatwg.org/#request-keepalive-flag > request . [keepalive](https://fetch.spec.whatwg.org/#dom-request-keepalive) Returns a boolean indicating whether or not request...
You can make Node.js fetch use a custom dispatcher with: ```js globalThis[Symbol.for('undici.globalDispatcher.1')] = dispatcher; ```
What about this: ```diff diff --git a/package.json b/package.json index a02ae10..222a235 100644 --- a/package.json +++ b/package.json @@ -41,7 +41,8 @@ "docs" ], "scripts": { - "build:node": "npx [email protected] index-fetch.js --bundle --platform=node...
Isn't the fix simply to `npm install readable-stream` ?
https://ci.nodejs.org/job/node-test-commit-smartos/55913/nodes=smartos20-64/consoleFull
I confirm all files are in `/dist-staging/nodejs/custom/v22.0.0-test202404257121813364/`