-
-
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
[🐛 Bug]: Selenium 4.26.0 has memory leak. #14789
Comments
@shinobi01, 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! |
@shinobi01 could you share a histogram of your memory dump? The easiest way is to call It would be helpful to know the exact version when it did break. Thanks in advance |
@joerg1985 This is the log running on Linux jenkins slave. hs_err_pid51968.log |
@shinobi01 this crash dump does not contain the infos i need, the output should look like this |
@shinobi01 are you using the This is a extension to the DecoratedWebDriverTest to reproduce the issue.
|
@joerg1985 sorry, i have no idea about WebDriverDecorator, i started the webdriver by using selenide appium. |
This might be related to appium/java-client#2119 but in any case the WebDriverDercorator does create to mutch classes without the PR above. |
What happened?
I'm using Java + Cucumber + testNG + Appium to do automation test on mobile devices. I got some errors as following
Caused by: java.lang.OutOfMemoryError: Compressed class space
So I checked with VisualVM, the Metaspace and Classes are always increasing.
The loaded classs are not unloaded.
After downgrade to 4.23.0, this issue is gone
How can we reproduce the issue?
Sorry I can't share my code, but create a cucumber test cases and rerun it several times should be able to reproduce.
Relevant log output
Operating System
macos 14.4.1
Selenium version
Java 17 + Java-Client 9.3.0 (Selenium 4.26.0)
What are the browser(s) and version(s) where you see this issue?
Android and iOS
What are the browser driver(s) and version(s) where you see this issue?
None
Are you using Selenium Grid?
None
The text was updated successfully, but these errors were encountered: