Memory leak when migrate signalfx to splunk/otel library
Opened this issue · 3 comments
blacktrue commented
Hi
I have a memory leak when migrate signalfx library to splunk/otel, I have confirmed with other services that they migrate and have the same behavior.
My implementation is:
package.json
"scripts": {
"prod": "APP_ENV=production node --max_old_space_size=4096 -r @splunk/otel/instrument src/app.js"
}
app.js
/* eslint-enable global-require */
const { startProfiling } = require('@splunk/otel');
startProfiling({
serviceName: process.env.SPLUNK_SERVICE_NAME,
})
Any idea what is happening?
seemk commented
Is this only with CPU profiling? Or was memory profiling enabled as well?
seemk commented
@blacktrue Which version are you using? Can you upgrade to the latest version?