Skip to main content
Announcements
SYSTEM MAINTENANCE: Thurs., Sept. 19, 1 AM ET, Platform will be unavailable for approx. 60 minutes.
cancel
Showing results for 
Search instead for 
Did you mean: 
hgromek
Contributor
Contributor

Job runs correct in Studio, Fails when running in CMD, OutOfMemoryError GC overhead limit exceeded

Hi 

I am having trouble with a particular Talend Job, it runs completely fine within Talend Studio. However,  after building it to run standing alone within the CMD it fails for a java.lang.OutOfMemoryError: Java heap space. It is a very simple job with only about 20K rows transferred. I have tried adding -XX:-UseGCOverheadLimit , but that didn't work. 

0683p000009M8X5.png

Labels (3)
1 Solution

Accepted Solutions
manodwhb
Champion II
Champion II

@hgromek . try to play with. these are based on your RAM size you need to add.

xms3048M & -xmx6048M 

View solution in original post

3 Replies
TRF
Champion II
Champion II

Try to change -Xmx parameter 

hgromek
Contributor
Contributor
Author

Thank you for the suggestion - it didn't fix the problem - I added -xms2048M & -xmx2048M parameters. Any other ideas? 


addedxmx.png
manodwhb
Champion II
Champion II

@hgromek . try to play with. these are based on your RAM size you need to add.

xms3048M & -xmx6048M