Skip to content
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

Memory consumption in JGiven 0.14.0 #294

Closed
nikowitt opened this issue Jan 16, 2017 · 8 comments
Closed

Memory consumption in JGiven 0.14.0 #294

nikowitt opened this issue Jan 16, 2017 · 8 comments
Assignees
Milestone

Comments

@nikowitt
Copy link
Contributor

Hi there,

currently, we're not able to run our builds successfully after updating to JGiven 0.14.0 as they simply stuck (so it's a memory issue). Rolling back to 0.13.0 solves the issue. As I currently cannot provide any specific information, can any experience be shared regarding memory consumption (due to ByteBuddy?)?

Regards,
Niko

@janschaefer
Copy link
Contributor

You are the first one that reports this issue. I will investigate that.

@janschaefer janschaefer added this to the v0.14.1 milestone Jan 16, 2017
@janschaefer janschaefer self-assigned this Jan 16, 2017
@janschaefer
Copy link
Contributor

Could you tell me which Java version you are using? Have you tried, as a workaround, to inrease the memory?

@nikowitt
Copy link
Contributor Author

Java/JVM detail version: 1.8.0_72-internal

Regarding memory increase, I'll let you know after I've talked to the admin.

@nikowitt
Copy link
Contributor Author

nikowitt commented Jan 16, 2017

Builds are not completed yet, but it seems that increasing the memory helps here.
UPDATE: memory issue still happen, but at a later stage.

@janschaefer
Copy link
Contributor

Ok. Thank you very much for the investigation! Just to narrow down the issue further: are you using Spring?

@nikowitt
Copy link
Contributor Author

Yes, Spring 4.2/Hibernate 4.3 (I know, we need to update :) ) - but we are using the DataProviderRunner approach using SimpleScenarios and Scenarios.

@janschaefer
Copy link
Contributor

Ok. Then it may also be related to the new Spring implementation.

@janschaefer
Copy link
Contributor

It turns out that ByteBuddy, in contrast to cglib, does not cache generated classes. That most likely causes this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants