Skip to main content
Announcements
A fresh, new look for the Data Integration & Quality forums and navigation! Read more about what's changed.
cancel
Showing results for 
Search instead for 
Did you mean: 
Slope
Contributor III

.bat Invalid maximum heap size

Hello,

I'm facing a new issue with my jobs "compiled", all my jobs runs well on Talend directly. But now I'm building them in order to run them through a script using .bat files generated, and when I run those .bat, i get :

Invalid maximum heap size: -Xmx4096M

The specified size exceeds the maximum representable size.

Error: Could not create the Java Virtual Machine.

Error: A fatal exception has occurred. Program will exit.

For exemple, on talend I customize it to run on -Xmx24576, and it work (without it it fail), but when I run that job through is .bat file I face the error above.

Does anybody already face this error ? Is there some tips to deal with it ?

Talend is on X64, my os is X64.

Kind regards

Labels (2)
1 Reply
Anonymous
Not applicable

Hello,

What's JDK version are you using? And what's maximum heap size?

Best regards

Sabrina