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

java.lang.OutOfMemoryError: Java heap space when used via jenkins #51

Open
sangeetawakhale opened this issue Mar 11, 2020 · 1 comment

Comments

@sangeetawakhale
Copy link

java -jar D:/datasetutils/datasetutils-47.0.0-SNAPSHOT.jar --action load --u XX --p XX --dataset apex_dataset --app Apex_app --operation append --inputFile 2020-03-08-Apex.csv --endpoint https://login.salesforce.com'

This command works fine from command line but when used in a jenkins job it gives java.lang.OutOfMemoryError: Java heap space

@TerenceJWilson
Copy link
Contributor

Jenkins is probably assigning the jvm size -Xmx probably to both the Jenkins job and datasetutils is on the same jvm- try increasing it ensuring that it has enough assigned. Sorry have not used jenkins but that would be my guess.

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

No branches or pull requests

2 participants