-
Notifications
You must be signed in to change notification settings - Fork 229
Description
Describe the bug
We have upgraded to 3.24.0 all our team services (10) and all of them started running out of memory.
All of them are running in K8S. It would take between 30 min to 3 hours of a pod run out of memory and restart.
We downgraded to 3.20.0 and the issue disappeared.
We were not seeing issue in a staging environment so I believe the issue can be noticed under higher loads.
To Reproduce
Steps to reproduce the behavior:
Run http service with high load and observe that memory slowly increases until eventually node process dies with "JavaScript heap out of memory" error.
Expected behavior
Do not run our of memory like version 3.20.0
Environment (please complete the following information)
- OS: [Linux]
- Node.js version: 12.22.1
- APM Server version: 7.15.2
- Agent version: 3.24.0
How are you starting the agent? (please tick one of the boxes)
- Calling
agent.start()
directly (e.g.require('elastic-apm-node').start(...)
) - Requiring
elastic-apm-node/start
from within the source code - Starting node with
-r elastic-apm-node/start
Additional context
-
Agent config options
Click to expand
replace this line with your agent config options
-
package.json
dependencies:Click to expand
replace this line with your dependencies section from package.json