[resolved] Error when running Jobs - Could not create the Java Virtual Machine.

One Star

[resolved] Error when running Jobs - Could not create the Java Virtual Machine.

Eror when running jobs :
"Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap"
I've already checked answers in similar previous posts.
Using TOS4.2.3.
Configuration works fine for several months. In TalendOpenStudio-win32-x86.ini :
-vmargs
-Xms64m
-Xmx768m
-XX:MaxPermSize=256m
Yesterday, my first problem was on opening TOS : 'Failed to create the Java virtual machine'
Change MaxPermSize to 128 and then could open TOS.
But now, jobs not run.
TRy to decreaese Xmx to 256 - no issue
Check through windows cmd :
P:\>java -client -Xms64m -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode,
P:\>java -client -Xmx768m -version
java version "1.6.0_13"
Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
Java HotSpot(TM) Client VM (build 11.3-b02, mixed mode)

In Talend/Preferences could not find the view with jvm arguments (see Run1.jpg and Run2.jpg)
(even if values could be seen in job properties see Run3.jpg).
Please help.
I really can't understand why it works fine for several months, and today jobs don't run.
Note that our pc (and all programs - except talend) are massively updated through the network (no information on what have been updated)

Accepted Solutions
One Star

Re: [resolved] Error when running Jobs - Could not create the Java Virtual Machine.

Finally, found the jvm preferences (see upload) and change the values
-Xms : 256 -> 64m
-Xmx : 1024 -> 768m

All Replies
One Star

Re: [resolved] Error when running Jobs - Could not create the Java Virtual Machine.

Hi
You might find solution from 23767.
Regards,
Pedro
One Star

Re: [resolved] Error when running Jobs - Could not create the Java Virtual Machine.

Finally, found the jvm preferences (see upload) and change the values
-Xms : 256 -> 64m
-Xmx : 1024 -> 768m