-
-
Notifications
You must be signed in to change notification settings - Fork 513
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
[Serenity Version 3.9.7] java.lang.OutOfMemoryError: Java heap space #3184
Comments
Can you provide a sample project that reproduces the issue? |
Do you get this error with version 3.9.7? |
Yes but Its resolved after increasing heap space |
@wakaleo : no its not fixed ,even after increasing heap space to 4GB with version 3.9.7. As I mentioned earlier functionality is working as expected with 3.7.1 version so not sure what changes are integrated between this two releases. Error 2023-07-21T11:25:45.7280685Z org.junit.platform.commons.JUnitException: TestEngine with ID 'junit-jupiter' failed to execute tests |
I can't reproduce it (I have a test project with 87000 tests which runs with 1m of heapspace) - can you provide a sample project to reproduce the issue, or investigate the code on your side and raise a PR? |
I cant provide you project and its really difficult to debug code as well becuase issue is occuring while executing jobs in a parallel environment. Cant we just check above stracktrace and compare it with the latest release to fix above issue. |
The latest release is a complete rewrite of the reporting engine, so that might be tricky, but you can certainly checkout different versions locally to see if you can isolate the issue. |
If I am not wrong then its exactly same issue #3093. Which is somehow working with 3.7.1 release |
So maybe start looking at the commits after that release. If you need someone to investigate in depth more quickly, it could be done as part of a commercial support contract. |
Is it possible to create another relase 3.7.X with console logging enabled ? |
No, but you can check out that version in git, make the changes you want, and build with mvn clean install -DskipTests |
But I am unable to use those changes out of serenity core project until and unless its publish with the maven |
The command above will deploy a snapshot version to your local maven repository. |
@bachhavdipak , can you provide a heap dump? |
I am facing below OutOfMemoryError issue with the latest serenity 3.9.0 version while running my code same code is working with serenity 3.7.1 version without any issue.
I have tried to increase heap space. Also tried to update junit-platform.properties but nothing is working.
The text was updated successfully, but these errors were encountered: