-
-
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
Java Heap Space - Out of memory error When I run more than 1300 test cases using serenity with cucumber5 #2094
Comments
I am doing rest api testing using serenity rest assured using 2.2.5 and 2.2.0 for serenity cucumber5 |
you could use a profiler maybe.. to check what exactly is worth so much RAM |
On Tue, 19 May 2020 at 20:30, kreigy1310garg ***@***.***> wrote:
I am doing rest api testing using serenity rest assured using 2.2.5 and
2.2.0 for serenity cucumber5
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2094 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAANVMS3KHDYKMNN4ORENM3RSLM6VANCNFSM4NFJEFAA>
.
--
…___________________________________________________
John Smart | Wakaleo Consulting | +44 7398 832273
Making smart teams collaborate better
http://johnfergusonsmart.com | john.smart@wakaleo.com
___________________________________________________
We love breaking down silos and helping smart teams collaborate better! Ask
about our tailored on-site workshops
<https://johnfergusonsmart.com/training/> in Agile Product Planning
<http://johnfergusonsmart.com/programs-courses/next-generation-agile-delivery-product-planning/>,
BDD Requirements Discovery
<http://johnfergusonsmart.com/programs-courses/mastering-agile-requirements-behaviour-driven-development/>,
BDD, TDD and Clean Coding
<http://johnfergusonsmart.com/programs-courses/bdd-tdd-clean-coding/>,
and Advanced
BDD Test Automation
<http://johnfergusonsmart.com/programs-courses/advanced-bdd-test-automation/>
.
Need some help with Serenity BDD? Check out our Serenity BDD training and
support packages here <https://johnfergusonsmart.com/serenity-bdd/>.
___________________________________________________
|
and the usual answer is "maybe a version conflict"? :) |
any reason you use different versions? |
These versions are suggested by Serenity GITHUB for cucumber 5. Also I was getting this with cucumber 2 as well . Recently upgraded to cucumber 5. |
ah, ok. sorry, I am not very familiar with the cucumber part of serenity :) |
I would need a sample project or access to your Jenkins environment (we can do this as part of our commercial support packages) - otherwise it will be hard to diagnose. As @globalworming suggested, I would suggest investigating with a profiler to see what objects and methods are taking the most memory. |
Hi @kreigy1310garg @wakaleo , is there any resolution to this. I am facing similar issue for my project. |
Use a profiler to see what is using memory. If you can provide a sample project to reproduce the issue, that could help. |
H Team and @wakaleo, Thanks a lot! |
Can you provide a sample project that reproduces the issue? 100 test cases should take under a minute to generate the reports (though 8-9 hours of execution would indicate that they are very long/slow tests, that has no impact on the report generation). Short answer - without being able to reproduce the issue, I have no idea what this could be caused by, as I have never encountered it (and I have projects that run with over 3000 tests and generate the reports quickly without needing any additional memory). |
Thanks for quick response @wakaleo, This is our internal company application unfortunately I would not be able to share the code. |
Java Heap Space - Out of memory error When I run more than 1300 test cases using serenity with cucumber5. Even I have tried increasing heap space for jenkins to 6144M still issue persists.
I don't know how to get rid of this.
Attaching screenshot
The text was updated successfully, but these errors were encountered: