One Star

[resolved] Unhandled event loop exception - Java heap space

Hello all,
I would appreciate any suggestions on managing the memory settings as i have huge tables ( >2million records) that needs to be moved around and i keep getting this error.
Also, any reason why my job is reading a string column as a character from a text/excel input?
Many thanks
1 ACCEPTED SOLUTION

Accepted Solutions
One Star

Re: [resolved] Unhandled event loop exception - Java heap space

Hi,
Have you tried to set JVM as:
-Xms:1024m
-Xmx:2048m? Have you checked document about:TalendHelpCenter:Allocating more memory to Talend Studio?
Best regards
Sabrina

Added more memory to my machine and changed my settings. Works now - thanks.
10 REPLIES
Moderator

Re: [resolved] Unhandled event loop exception - Java heap space

Hi,
Have you already checked documents about:TalendHelpCenter:Could not reserve enough space for object heap and  TalendHelpCenter:Exception: outOfMemory to allocate more memory  for your job?
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: [resolved] Unhandled event loop exception - Java heap space

Hi,
Have you already checked documents about:TalendHelpCenter:Could not reserve enough space for object heap and  TalendHelpCenter:Exception: outOfMemory to allocate more memory  for your job?
Best regards
Sabrina

Hi Sabrina - I'm still running into issues with this. I've made all changes and i'm running the 64-bit application. It could as well be my machine but i've attached a screen shot and part of the error.
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space. I was also getting a "GC Overhead limit" error at some point.
UseGCOverheadLimit
Many thanks

Moderator

Re: [resolved] Unhandled event loop exception - Java heap space

Hi,
Could you please show us your current job design screenshot? What's your 64 bit server memory? 8GB?
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: [resolved] Unhandled event loop exception - Java heap space

Hi,
Could you please show us your current job design screenshot? What's your 64 bit server memory? 8GB?
Best regards
Sabrina

No only 4GB
Moderator

Re: [resolved] Unhandled event loop exception - Java heap space

Hi,
Have you tried to set JVM as:
-Xms:1024m
-Xmx:2048m? Have you checked document about:TalendHelpCenter:Allocating more memory to Talend Studio?
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: [resolved] Unhandled event loop exception - Java heap space

Hi,
Have you tried to set JVM as:
-Xms:1024m
-Xmx:2048m? Have you checked document about:TalendHelpCenter:Allocating more memory to Talend Studio?
Best regards
Sabrina

Added more memory to my machine and changed my settings. Works now - thanks.
Moderator

Re: [resolved] Unhandled event loop exception - Java heap space

Hi,

If the issue is closed, may I ask you to click the "Set this topic as resolved" link which is right underneath your initial post? This way, other users will be informed that this thread has been resolved.
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: [resolved] Unhandled event loop exception - Java heap space

Hi,
I am receving an error message while opening any job in Talend
Unhandled event loop exception
Java heap space
And when i click ok i get the below pop up. Kindly help..
Moderator

Re: [resolved] Unhandled event loop exception - Java heap space

Hi jitesh.pillai,
There is not enough information for us to diagnose your issue.
What's your OS and JDK version? Have you already checked document about:TalendHelpCenter:Installation requirements?
 Is there any more error log which is located in <Talend Studio installation path>/workspace/.metadata/.log?
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.
Five Stars

Re: [resolved] Unhandled event loop exception - Java heap space

Hi there,

 

I am experiencing the same issue as those previous users regarding JAVA heap space.

I am currently running TOS 6.4.1 with JDK 8 and I struggle to open an 23 210 ko.

 

I get the following message when I try to open the xls file:

 

Problem occurred: Unhandled event loop exception / GC overhead limit exceed

 

My JVM settings are the one displayed in the first screenshot (I've also written the same informations into the .ini file that you can see in the second picture).

My computer uses Windows 7 Pro, and runs 32GB DDR3 RAM.

 

Do you know where is my mistake and what should I set to my JVM to be able to open my Excel file?

 

Thanks,

 

Mateo.

 JVM settings.PNGJVM settings in TalendJVM ini file settings.PNGJVM ini file on the installation folder