-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increasing memory usage #243
Comments
What modules are you using? Can you share what dependencies your app has and what versions they are? Some more detail about exactly what your app does might help too. |
Sure, this service is basically just for querying products in our Elasticsearch Database so performs queries and aggregations agains our ES cluster. The main dependencies we have are:
We also have other APM, logging dependencies:
|
Sorry for the delay, I'm still investigating this. For now, you could also try setting |
We released a new version recently which fixed a memory leak that was surfacing in mongoose, related to the promise microtask queue. Let me know if that fixes your problem. I'm closing this, but feel free to re-open it if you are still having problems. 😸 |
We've been encountering a problem where the memory usage on our app servers increases steadily over time until they die when enabling APM.
We've tried multiple different options for reducing memory usage, including decreasing the
flushInterval
to 5, decreasing themaxQueueSize
to 25 and decreasing thetransactionSampleRate
to 0.1 but all this has achieved is reducing the rate at which the memory usage increases at.I've attached a screenshot of our NewRelic monitoring of the memory usage. Each dip from ~3Gb is the instance failing and being restarted.
The text was updated successfully, but these errors were encountered: