forcedotcom / forcedotcom/Analytics-Cloud-Dataset-Utils

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

Open
#51 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
130
Forks
63
PR merge metrics
No merged PRs in 30d

Description

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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the issue's java -jar command and compare its behavior in the command line and Jenkins job, including the JVM heap settings and job environment. No source files or tests are named; done means identifying a reproducible cause and documenting or implementing a confirmed way for the Jenkins invocation to complete without exhausting the heap.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.