You are not logged in.

#1 2007-04-16 16:02:04

9 posts

dlrcs said:

Save failed : Java heap space

Tags: [eclipse]

Tout d'abord, mes félicitations pour toute votre équipe pour ce produit qui me semble très prometteur.
J'ai un problème qui apparait de temps en temps lorque j'essai de sauvegarder un job design. Un message d'eclipse apparait
"Save failed : Java heap space" .
Il faut que j'arrete et redémarre talend pour ne plus avoir ce pb pendant un certain.
Est ce que vous avez vu ce genre de pb. Il y a t'il un moyen pour paramétrer la mémoire de la machine virtuelle utilisée par talend?


#2 2007-05-10 18:23:00

Talend Team

esabot said:

Re: Save failed : Java heap space

Hi dlrcs,

Many thanks for your supporting message. Much appreciated here.
However, could you please post your question in English from now on?
Obviously your question is related to a memory space issue, linked to Eclipse.
Can you provide us with the version of Talend Open Studio you work on? as well as the JVM version?
Did you update the Eclipse and/or Talend through the automatic update feature?

Thanks again for your understanding.

Talend - Global leader in Open Source Integration


#3 2007-05-11 00:27:15

7 posts

anhhai said:

Re: Save failed : Java heap space

I'm using TOS-Win32-r3065-V2.0.0 . The JVM is 1.5.0_11.
I'm designing jobs that contains lots of components, at least 10 up to 20. 
The designer begin to slow down to load  a job design and frenquently I got this message above.
Please find a sample of the log below:

!ENTRY org.eclipse.ui 4 4 2007-05-11 01:21:43.375
!MESSAGE Save Failed

!ENTRY org.eclipse.ui 2 0 2007-05-11 01:21:43.375
!MESSAGE Save Failed
java.lang.OutOfMemoryError: Java heap space

!ENTRY org.eclipse.ui 4 4 2007-05-11 01:22:24.750
!MESSAGE Unhandled event loop exception

!ENTRY org.eclipse.ui 4 0 2007-05-11 01:22:24.765
!MESSAGE Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.OutOfMemoryError: Java heap space)
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
    at org.eclipse.swt.widgets.Display.runAsyncMessages(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.jface.window.Window.runEventLoop(
    at org.eclipse.jface.dialogs.MessageDialog.openError(
    at org.eclipse.ui.internal.SaveableHelper.runProgressMonitorOperation(
    at org.eclipse.ui.internal.SaveableHelper.savePart(
    at org.eclipse.ui.internal.EditorManager.savePart(
    at org.eclipse.ui.internal.WorkbenchPage.savePart(
    at org.eclipse.ui.internal.WorkbenchPage.saveEditor(
    at org.eclipse.jface.action.Action.runWithEvent(
    at org.eclipse.jface.commands.ActionHandler.execute(
    at org.eclipse.core.commands.Command.executeWithChecks(
    at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(
    at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(
    at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(
    at org.eclipse.swt.widgets.EventTable.sendEvent(
    at org.eclipse.swt.widgets.Display.filterEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendEvent(
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(
    at org.eclipse.swt.widgets.Widget.sendKeyEvent(
    at org.eclipse.swt.widgets.Widget.wmChar(
    at org.eclipse.swt.widgets.Control.WM_CHAR(
    at org.eclipse.swt.widgets.Control.windowProc(
    at org.eclipse.swt.widgets.Display.windowProc(
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.ui.internal.Workbench.runEventLoop(
    at org.eclipse.ui.internal.Workbench.runUI(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at org.eclipse.core.internal.runtime.PlatformActivator$
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.core.launcher.Main.invokeFramework(
    at org.eclipse.core.launcher.Main.basicRun(
    at org.eclipse.core.launcher.Main.main(
Caused by: java.lang.OutOfMemoryError: Java heap space



#4 2007-05-11 23:58:17

9 posts

dlrcs said:

Re: Save failed : Java heap space

My TOS version is TOS-Win32-r3065-V2.0.0. My JRE is jdk1.5.0_11.
As for the version of eclipse on which TOS is running I don't know if it is up to date.
But I 've the same log when Eclipse fail to save a job design as that above.
My jobs include often numerous components. 10 to 20 components.
Best Regards.


#5 2007-05-12 08:52:38

Talend Team

ccarbone said:

Re: Save failed : Java heap space

anhhai wrote:

Caused by: java.lang.OutOfMemoryError: Java heap space

To launch Talend Open Studio with more memory, it's very easy : create a .bat or .sh and type in the following command :

TalendOpenStudio -vmargs -Xms512m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=128m

I don't know how much RAM you have?  With the above command line, T.O.S. will be allowed to take 512 MB (a good configuration for a machine with 1024MB of ram).

If your station has only 512MB, you should use

TalendOpenStudio -vmargs -Xms256m -Xmx256m -XX:PermSize=64m -XX:MaxPermSize=64m

More information at

Cedric Carbone
Talend CTO


#6 2007-07-05 15:01:52

Talend Team

mhelleboid said:

Re: Save failed : Java heap space

From version 2.1.0RC1 you can tune the memory allocation for your JVM, please have a look at … tion_guide


#7 2010-12-17 06:13:40

Rahul Sharma

Rahul Sharma said:

Re: Save failed : Java heap space

Hey Great guys....You helped me in solving java heap space error. Thanks

#8 2011-03-17 02:52:04

179 posts

talendtester said:

Re: Save failed : Java heap space

I think I should be able to increase my memory usage limit.

What settings should I use for a server with the following specs?
RAM: 7.81 GB (7.56 usable)
System type: 64 bit

My current settings are:


Board footer

Talend Contributor Agreement - Talend Website Privacy Policy