One Star

[resolved] OutOfMemoryError:Java heap Space

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(
at oracle.jdbc.driver.T4CVarcharAccessor.getString(
at oracle.jdbc.driver.OracleResultSetImpl.getString(
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.tOracleInput_2Process(
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.tOracleInput_1Process(
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.runJobInTOS(
at tal.pacht_corp_addr_lndg_to_pa000cht05_0_1.PACHT_CORP_ADDR_LNDG_TO_PA000CHT05.main(
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

Re: [resolved] OutOfMemoryError:Java heap Space

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