#1 2012-03-21 08:14:56

mrali7
Member
Registered: 2011-12-23
Posts: 63

Out Of Memory Error

Tags: [as400, error]

Hi ,
i have a problem Talend gives me OutOfMemory Error while there is 4 GB free memory ,
any advise.

Thanks
Ali


Uploaded Images

Offline

#2 2012-03-21 08:18:37

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi Ali

You extract so many rows from db. It caused OutOfMemory Erro.

This topic is related to [Forum, topic 22778] tfileInputExcel with excel2007 format read issue.
Hope this will help you.

Regards,
Pedro


Only Paranoid Survive.

Offline

#3 2012-03-21 11:30:36

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi pedro ,
the problem still exists after enabling "Use specific JVM arguments"
kindly advise

note :- there is still 4 GB memory free space.
Regards
Ali

Offline

#4 2012-03-22 04:26:03

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi Ali

Could you show me the values of JVM arguments?
You'd better increment them.
Using jvisualvm.exe in %Java_Home%\bin can monitor the memory using of this job.

Regards,
Pedro


Only Paranoid Survive.

Offline

#5 2012-03-22 07:26:53

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi pedro ,
sorry i can't find this file in this directory , i googled this file and i'm not able to get it .
any advise.

Thanks
Ali

Offline

#6 2012-03-22 08:53:33

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi Pedro ,
i got it i installed JDK 6 to get it , please find attached image


Uploaded Images

Offline

#7 2012-03-22 08:59:43

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi

In this image, I can see that the xmx is still 1024M.
You'd better increase it into 1/4 of your total memory.

Regards,
Pedro


Only Paranoid Survive.

Offline

#8 2012-03-22 09:53:56

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi pedro ,
please find attached error when i increased the Xmx 1024 to Xmx 2048

Thanks
Ali


Uploaded Images

Offline

#9 2012-03-22 09:55:20

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi Ali

This is because the value of xmx exceeds 1/4 of your memory...

If still this issue can't be fixed after you increase the value, you'd better optimize your job.
Don't add any useless columns.
Don't extract so many rows at any one time.


Regards,
Pedro


Only Paranoid Survive.

Offline

#10 2012-03-22 12:37:35

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi Pedro ,
Total memory is 8 GB so why 2048M is not working ?
and when i made it 1536M it works but it gives me another error i don't know what does it mean ?
see attached image


Uploaded Images

Offline

#11 2012-03-23 03:11:56

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi

It seems that you have solved outofmemoryerror.
The job comes to tAS400Input_2.
The routines.system.RunStat.stopThreadStat caused concurrentmodificationException.
This class is predefined in Talend. It's weird.

Can this issue recur?


Regards,
Pedro


Only Paranoid Survive.

Offline

#12 2012-03-25 08:01:38

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi Pedro ,
Yeah it always happens till now i can't execute my job successfully .
please advise.

Regards
Ali

Offline

#13 2012-03-26 04:42:51

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi Ali

I have tried to find the reason but failed.
Here is an issue on BugTracker.
It seems you'd better change the setting of tMap.
Or you know clearly how to reproduce this issue. Report it on BugTrakcer.

Regards,
Pedro


Only Paranoid Survive.

Offline

#14 2012-03-27 10:13:18

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi Pedro ,
when i remove the statistices as described in the bug the OutOfMemory exception appears again ,
really i'm tired from this and till now i'm not able to run mu job successfully
and i don't know why this happends as i have a lot of free memory space
please help on this.

Regards,
Ali

Offline

#15 2012-03-27 10:15:23

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: Out Of Memory Error

Hi Ali

Please report it on BugTracker.

Regards,
Pedro


Only Paranoid Survive.

Offline

#16 2012-03-27 11:13:50

mhirt
Talend team
Registered: 2006-09-19
Posts: 1633

Re: Out Of Memory Error

The error that you met with your memory is a basic limit of 32bits JVM with Windows memory addressing (http://stackoverflow.com/questions/1712 … windows-xp)

If you switch to a 64bits JVM, you will be able to address much more memory (assuming that windows find enough contiguous free memory)

Offline

#17 2012-03-28 07:41:42

mrali7
Member
Registered: 2011-12-23
Posts: 63

Re: Out Of Memory Error

Hi mhirt ,
JDK 6 64bit is installed already how can i sure that Talend uses the 64bit version ?
also what about "Xmx" parameter its by default 1024 and my Total memory is 8 GB
please advise

Regards
Ali

Offline

Board footer

Powered by FluxBB