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
Doesn't solve the underlying issue (OOM still happens), but get rid of the warnings
// Prevent eventEmitter: memory leak detected to be shown. This happens (probably) inside request.js which is used by Clickhouse
// https://github.com/request/request/issues/3139
const EventEmitter = require('events');
EventEmitter.prototype.setMaxListeners(Infinity)
I'm getting a lot of 'EventEmitter: memory leak detected'-messages, which turn out to be real: process crashes with an OOM after a day or so.
This is due to the request-lib not behaving nicely. request/request#3139.
This won't get fixed since request-library is deprecated.
Would you consider changing this out for something more robust, like axios, superagent, fetch?
The text was updated successfully, but these errors were encountered: