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
OutOfMemory due to messages stored in memory - when no connection to Elastic. #16
Comments
What do you mean by messages? So your problem was that elasticsearch was unexpectedly down which lead to a OOM Error? |
I'm sorry for the issues. This should be easy to fix though. I'll probably limit the LinkedBlockingQueue of the Executor to hold max. 1000 Futures. |
Great to hear, thank you in advance! |
@felixbarny It would be nice idea to introduce this limit in the configuration. |
Prevents the queues to grow indefinitely. See stagemonitor/stagemonitor-mailinglist#16
I've just released a new version that contains the fix: https://github.com/stagemonitor/stagemonitor/releases/tag/0.18.0 |
Thank you for a really quick fix! |
OutOfMemory due to messages stored in memory - when no connection to Elastic. Basically we have encountered this situation. Is there any way to configure Stagemonitor not to store these messages, or at least set some limit to count of messages / size of the queue?
The text was updated successfully, but these errors were encountered: