-1

I'm still having some problems with this error in Talend. I already changed the VM Arguments to this:

Arguments:

-Xms1024m
-Xms1024m

And then I always get this error:

Exception in thread "main" java.lang.OutOfMemoryError: GC overhead limit exceeded

Any suggestions?

Rizier123
  • 56,111
  • 16
  • 85
  • 130
jc carmelo
  • 123
  • 4
  • 13
  • You need to use "-Xmx" not "-Xms" twice: http://stackoverflow.com/questions/14763079/what-are-the-xms-and-xmx-parameters-when-starting-jvms – David Tonhofer Dec 17 '14 at 11:58
  • Enterprise talend uses -Xmx2G as default. If you're working with large lookups in tMap turn on the file cache. Excel files can be a problem, on talendforge there are some components that worth to check, so you don't become using -Xmx30G :) – Balazs Gunics Dec 17 '14 at 21:23

2 Answers2

0

The -Xms option sets the initial and minimum Java heap size

You increased the initial heap size not the maximum.

You need to use Xmx like @David Tonhofer said.

If this is not enough you should watch your memory management. Having too much lookup (data volume)in a same subjob or storing big volume of data in tHash can lead to memory problems.

Community
  • 1
  • 1
Julien Breuil
  • 165
  • 2
  • 15
0

Additionally I would suggest to check -XX:MaxPermSize parameter as well. In case of bigger jobs I need to change it to -XX:MaxPermSize=512m

Ernie Jay
  • 136
  • 5