
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
.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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
What's JDK version are you using? And what's maximum heap size?
Best regards
Sabrina
