One Star

[resolved] OutOfMemoryError:Java heap Space

Hi,
I am getting following error messages while executing my job on UNIX.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at oracle.jdbc.driver.CharCommonAccessor.getString(CharCommonAccessor.java:404)
at oracle.jdbc.driver.T4CVarcharAccessor.getString(T4CVarcharAccessor.java:436)
at oracle.jdbc.driver.OracleResultSetImpl.getString(OracleResultSetImpl.java:971)
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.tOracleInput_2Process(PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.java:2793)
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.tOracleInput_1Process(PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.java:1264)
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.runJobInTOS(PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.java:3127)
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.main(PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.java:3016)
1 ACCEPTED SOLUTION

Accepted Solutions
Moderator

Re: [resolved] OutOfMemoryError:Java heap Space

Hi,
Is there any cache component consuming two much memory in your job? Such as, tMap, tUniqRow, tSortRow? For a large set of data, try to store the data on disk and allocate more memory to execute the job.
Please have a look at KB article TalendHelpCenter:Exception outOfMemory.
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.
2 REPLIES
One Star

Re: [resolved] OutOfMemoryError:Java heap Space

Hi Kiran - looks like you need to adjust your heap size on your server based on the memory you have available...
Take a look at https://community.talend.com/t5/Design-and-Development/Could-not-reserve-enough-space-for-object-hea...
or http://kindleconsulting.com/blog/entry/managing-jvm-heap-size-in-talend-open-studio.html
Moderator

Re: [resolved] OutOfMemoryError:Java heap Space

Hi,
Is there any cache component consuming two much memory in your job? Such as, tMap, tUniqRow, tSortRow? For a large set of data, try to store the data on disk and allocate more memory to execute the job.
Please have a look at KB article TalendHelpCenter:Exception outOfMemory.
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.