Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
piexpert
Partner - Contributor
Partner - Contributor

Talend ESB Launch error 'Could not create the Java Virtual Machine'

Hi,

I downloaded the Talend ESB following the Talend help here, but I can't launch it with errors 'Could not create the Java Virtual Machine'.

It's weird that the other Talend version installed in my PC could launched successfully, but only this Talend ESB failed to launch with JVM error.

0695b00000chvY8AAI.jpg

Labels (3)
5 Replies
Anonymous
Not applicable

Hello,

Could you please upload your studio error log here which will be helpful for us to address your issue?

The studio error log is located in <Talend Studio installation path>/workspace/.metadata/.log   

Best regards

Sabrina

Anonymous
Not applicable

Hello,

We met this issue before "Error: Could not create the Java Virtual Machine. 

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

Invalid maximum heap size: -Xmx####m 

The specified size exceeds the maximum re-presentable size."

This issue is that the heap that was given was too large.

You need to give the right amount of heap space that is allotted to the machine but also enough for the job to run successfully. Ensure that the job has high enough memory and modify the -Xmx accordingly.

Best regards

Sabrina

piexpert
Partner - Contributor
Partner - Contributor
Author

Hi xdshi,

 

Thanks for your prompt response.

However, I can't find such log path as I downloaded the Talend ESB application from sourceforge.net directly. There's no need to install just extract the archive zip files, then I can use the Talend ESB studio immediately.

Could you please let me know where can I download the Talend ESB installer files for windows?

Thanks.

piexpert
Partner - Contributor
Partner - Contributor
Author

Hi,

 

I changed the Xmx size as below in 'TOS_ESB-win-x86_64.ini' file directly. But still same error to launch Talend ESB.

The RAM of my personal PC is 16G, is it good enough to launch Talend ESB?

 

-vmargs

-Xms4096

-Xmx8192m

-Dfile.encoding=UTF-8

-Dosgi.requiredJavaVersion=11

-XX:+UseG1GC

-XX:+UseStringDeduplication

-XX:MaxMetaspaceSize=8192m

Anonymous
Not applicable

Hello,

You are able to download Talend Open Studio for ESB solution freely from:

https://sourceforge.net/projects/talendesb/files/Talend%20Open%20Studio%20for%20ESB/8.0.1/

Is there any error log in your configuration folder?

Best regards

Sabrina