-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Lets talk about v8's memory settings #5595
Comments
Additional information on the issue can be found here: https://blog.risingstack.com/finding-a-memory-leak-in-node-js/
|
I have created a PR which sets the One discussion we have had is that Node should be treated as an implementation detail and not a documented interface for the application. |
I'm using the 4.5.1 deb from packages.elasti.co and the memory usage surprised me. I start the service and never visit the http listening socket and memory usage still grows. It starts at ~90MB. After 30min it is using ~125MB. After an hour it is using 140MB. After two hours it is using ~200MB. After 3 hours it is using ~265MB. I stopped at ~3hr 45min and usage was ~316MB. https://gist.github.com/anonymous/a6cf1550d738f9b3b669e6c5a74f6d8f I investigated because I left kibana running, it was entirely unused, but I left it running for a couple of weeks and the memory usage was well over 1GB. This surprised me. I've worked around it by adding |
Closing out this issue because it doesn't have any recent activity. If you still feel this issue needs to be addressed, feel free to open it back up. |
As #5170 has pointed out, the way that v8 manages memory isn't compatible with every person's deployment or desires. In order to change these settings v8 exposes a set of command line flags that we will be allowing users to set once #5451 is merged.
We should provide some documentation about how to use these settings in Kibana, and I think we could use this article from heroku as inspiration.
A snippet:
The text was updated successfully, but these errors were encountered: