[resolved] Unhandled event loop exception - Java heap space

Highlighted
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

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.

All 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

Six Stars

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

Hi Mateo,

 

 I got the same problem in my work. Are you resolve this problem?

 

Thanks.

Moderator

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

Hello @betulb,

Please try to edit the .ini file that matches the .exe you use to run the studio. 

Could you please let us know if this article helps?

https://community.talend.com/t5/Design-and-Development/Could-not-reserve-enough-space-for-object-hea...

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.
Six Stars

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

Hi Sabrina,

I tried this options but still my work is not run.
My file almost 30 gb and I guess that's why it's not loading in metadata.

Or do you have any other solution to upload this file into metadata?

Thanks,
Betul.
Moderator

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

Hello @betulb,

How much is your computer RAM?

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.
Six Stars

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

Hi Sabrina,
My computer RAM 12GB.

Thanks,
Betul.

2019 GARNER MAGIC QUADRANT FOR DATA INTEGRATION TOOL

Talend named a Leader.

Get your copy

OPEN STUDIO FOR DATA INTEGRATION

Kickstart your first data integration and ETL projects.

Download now

What’s New for Talend Summer ’19

Watch the recorded webinar!

Watch Now

Best Practices for Using Context Variables with Talend – Part 4

Pick up some tips and tricks with Context Variables

Blog

How Media Organizations Achieved Success with Data Integration

Learn how media organizations have achieved success with Data Integration

Read

Downloads and Trials

Test drive Talend's enterprise products.

Downloads