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: 
Anonymous
Not applicable

Invalid maximum heap size

Talend 5.1.3 Enterprise for Data Integration with Data Quality
Windows Server 2008 R2
Java 1.6

Hi,
We're having an issue for a job that was recently deployed to production and we're getting the following error:
### Job STARTED at 2013/10/29 03:03:44 (jobId=20131028_230637_kC7qn, jobExecutionId=20131029030344_v9j18) ###
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Invalid maximum heap size: -Xmx4G
The specified size exceeds the maximum representable size.
### Job ENDED WITH ERROR at 2013/10/29 03:03:44 (jobId=20131028_230637_kC7qn, jobExecutionId=20131029030344_v9j18) ###
This job ran succesfully on our DEV and QA environments which do not have as nice specifications as the production machine.
I've attempted to compare the environments to see what is different. What are some settings we should check on the production machine?
Labels (3)
5 Replies
Anonymous
Not applicable
Author

Hi,
Let me know if this document TalendHelpCenter:Exception Could not reserve enough space for object heap is useful for your issue.
Best regards
Sabrina
Anonymous
Not applicable
Author

Sabrina,
That article did not help me resolve the issue. However I was able to resolve the issue by reinstalling java.
Anonymous
Not applicable
Author

Hi,
Thanks your feedback. What's your new java version? And the maximum heap size?
Best regard
Sabrina
Anonymous
Not applicable
Author

I just reinstalled Java 1.6 - I did not change the version. The maximum heap size is currently set to -Xmx4G. The server has 32GB of ram so I guess theoretically we could go up to 24G or even higher (but probably not practical)
Anonymous
Not applicable
Author

Hi,
Please take a look at TalendHelpCenter:Allocating more memory to the Talend Studio and ExceptionOutOfMemory, which will be useful for your further job in talend.
Best regards
Sabrina