-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
[🐛 Bug]: java.lang.OutOfMemoryError #2528
Comments
@Doofus100500, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
It looks like the actual usage memory not reach the range of request and limit resources config.
Can you check it helps? |
@joerg1985, do you have any comment on this? |
For all components, this is extremely low. In my opinion, it is necessary to make it possible to configure these parameters for each component individually. Under load, consumption increases significantly. |
Via |
But this is not reflected in the chart for the eventBus and other distributed components |
Oh really? Can you give example yaml values that you are settings? |
For example, to address the issue with the event-bus mentioned in this issue, I added the following through k9s:
|
I just checked, in chart config, all distributed components are refer to this config for extra env vars |
That’s exactly what I’m saying. I want to set appropriate parameters for each component individually, rather than, for example, setting -Xmx16g for all of them. |
Yes, I can understand the problem now, will add that config for each component, instead of common |
Do you observe anything else that you think to fix in chart |
Unfortunately, I haven’t even looked into it yet. If I find anything, I’ll definitely come back in the future. |
…ted component Support #2528 Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
@VietND96 i had a short look at the code of |
The leaking listeners have been fixed in SeleniumHQ/selenium@269a7f6 but i am not sure this is the root cause here, as there are only a few bytes leaked for each call to |
@Doofus100500 i think the best would be to create a heap histogram with jmap and share them here. |
Unfortunately, I will only be able to take care of this after the 9th. |
Via #2546, I added the way to get HeapDumpOnOutOfMemoryError, or get heap dump on demand when terminate/stop the container to directory |
@Doofus100500 please wait for the next release before testing, this might be the fix for your issue: SeleniumHQ/selenium#15011 |
Hi @VietND96 , have you considered using XX:MaxRAMPercentage and XX:MinRAMPercentage instead of Xmx and Xms? It seems like a good solution for general configuration in:
|
What happened?
Getting oom in eventbus container
Command used to start Selenium Grid with Docker (or Kubernetes)
Relevant log output
Operating System
k8s
Docker Selenium version (image tag)
4.26.0-20241101
Selenium Grid chart version (chart version)
0.37.1
The text was updated successfully, but these errors were encountered: