Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

[resolved] Could not create the Java virtual machine.

Hello,
I install TOS v2.4 on Vista with TalendOpenStudio-win32-x86.in file :
-vmargs
-Xms500m
-Xmx500m
-XX0683p000009MAB6.pngermSize=128m
-XX:MaxPermSize=128m
I can start TOS and create job, but when I run a job (even a simple job like tRowGenerator => tLogRow), I get the message:
Starting job simple at 17:21 26/06/2008.
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Job simple ended at 17:21 26/06/2008.
Remark: I can run the job in debug mode.
Thanks.

Labels (3)
27 Replies
amaumont
Contributor III
Contributor III

Hi dlrem,
prefer this conf:
-vmargs
-Xms40m
-Xmx500m
-XX:MaxPermSize=128m

Xms must not be same that Xmx
How much total memory do you have in your computer ?
Anonymous
Not applicable
Author

Ok I test with your conf, but I have the same problem...
The computer has 2Mb RAM...
amaumont
Contributor III
Contributor III

- go to menu Window > Preferences
- then go to category Talend > Run / Debug
finally change conf of Run job such as:
Xms128M
Xmx512M
I hope it will work 🙂
Anonymous
Not applicable
Author

OK it's run fine !
Thanks a lot 0683p000009MACn.png
_AnonymousUser
Specialist III
Specialist III

Normally it's because WinZozz added a java executable in WINDOWS/system32/.
Moving the JAVA_HOME/bin entry in the Path variable to the first position should solve the problem.

V.
_AnonymousUser
Specialist III
Specialist III

I have similar issue where i get the below message on win xp
--------------------------------------------
Talend Open Studio
Version: 3.2.0M1
Build id: r26328-20090706-1642
--------------------------------------------

Starting job TEST_1 at 17:38 20/08/2009.
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
Job TEST_1 ended at 17:38 20/08/2009.
--------------------------------------------------
initial conf
TalendOpenStudio-win32-x86.ini
-vmargs
-Xms40m
-Xmx500m
-XX:MaxPermSize=128m
Current conf
TalendOpenStudio-win32-x86.ini
-vmargs
-Xms1200m
-Xmx1240m
-XX:MaxPermSize=128m
--------------------------
machine memory = 1.94 GB
----------------------
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03)
Java HotSpot(TM) Client VM (build 14.1-b02, mixed mode, sharing)
Anonymous
Not applicable
Author

Hi,
please reduce the value for minimum memory:
-Xms1200m
to
-Xms500m
(for example)
Bye
Volker
_AnonymousUser
Specialist III
Specialist III

Hi! Same problem, I tried to solve using your hints but no way.
OS WinXP SP3
TalendOpenStudio-win32-x86.ini:
-vmargs
-Xms40m
-Xmx500m
-XX:MaxPermSize=128m
java version "1.6.0_16"
Java(TM) SE Runtime Environment (build 1.6.0_16-b01)
Java HotSpot(TM) Client VM (build 14.2-b01, mixed mode, sharing)
Path=C:\Programmi\Java\jre6\bin;
Talend Open Studio version TOS-Win32-r29643-V3.2.0RC1 (but same problem with 3.1.4 ...)
Error appears when I run jobs:
Could not create the Java virtual machine.
Error occurred during initialization of VM
Could not reserve enough space for object heap
or when I try to add a metadata in guessing schema:
Could not create the Java virtual machine.
Preview error. Some settings must be changed.
Note: Preview errors are generally due to a wrong encoding setting.
org.talend.designer.runprocess.shadow.ShadowFilePreview.preview(Unknown Source)
org.talend.repository.ui.utils.ShadowProcessHelper.getCsvArray(Unknown Source)
org.talend.repository.ui.wizards.metadata.connection.files.delimited.DelimitedFileStep2Form$PreviewProcessor.nonUIProcessInThread(Unknown Source)
org.talend.commons.ui.swt.thread.SWTUIThreadProcessor$1.run(Unknown Source)
but it's not an encoding issue ...
Thank you in advance.
Stefano
_AnonymousUser
Specialist III
Specialist III

Stefano,
did you ever get around this issue? i'm having the same issue w/ 3.2.3 and jre1.6.0_18
i have 2GB of memory so i'm using these .ini settings:
-vmargs
-Xms256m
-Xmx512m
-XX:MaxPermSize=128m
thanks.