Pretty sure the memory for the request body is what is being leaked, not sure if it is related to GraphQL at all. I was able to fix this issue locally by removing the call to Readable.toWeb() in this file. https://github.com/honojs/node-server/blob/main/src/request.ts#L67
What version of Hono are you using?
4.3.10
What runtime/platform is your app running on?
Node
What steps can reproduce the bug?
What is the expected behavior?
No response
What do you see instead?
Result of running the server and then sending requests with autocannon after a few seconds:
Additional information
https://github.com/kyscott18/hono-node-mem-leak
Pretty sure the memory for the request body is what is being leaked, not sure if it is related to GraphQL at all. I was able to fix this issue locally by removing the call to
Readable.toWeb()
in this file. https://github.com/honojs/node-server/blob/main/src/request.ts#L67