One Star

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?
5 REPLIES
Moderator

Re: Invalid maximum heap size

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Invalid maximum heap size

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

Re: Invalid maximum heap size

Hi,
Thanks your feedback. What's your new java version? And the maximum heap size?
Best regard
Sabrina
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.
One Star

Re: Invalid maximum heap size

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)
Moderator

Re: Invalid maximum heap size

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
--
Don't forget to give kudos when a reply is helpful and click Accept the solution when you think you're good with it.