[resolved] Heap space error

One Star

[resolved] Heap space error

Hi
TALEND open studio crashes (goes Not responding) frequently and crashes there after.
My machine configuration:
Operating System: Windows 7 Enterprise
Processor: Intel(R) Core(TM) i5-3470 CPU @ 3.20 GHz 3.20 GHz
Installed Memory (RAM): 4.00 GB (3.39 GB usable)
System type: 32-bit operating system
Please let me know how to overcome this problem? This is very irritating because my unsaved work is lost everytime this happens Smiley Sad
Best Regards,
Kalyan
Seventeen Stars

Re: [resolved] Heap space error

hi,
why heap size ? 
could you give us more detail about error log (see in .metadata). 
check about window update 
https://jira.talendforge.org/browse/TUP-2246
regards
laurent
Moderator

Re: [resolved] Heap space error

Hi,
Did you got an internal error occurred during: "Generation Engine Initialization in progress..."?
More information will be helpful for us to address your issue quickly. What's your JDK?
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] Heap space error

Hi
Attached is the log file from Talend\5.4.2\studio\workspace\.metadata
!SESSION 2014-10-17 18:40:56.411 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.7.0_67
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86
This is a continuation of log file C:\Talend\5.4.2\studio\workspace\.metadata\.bak_0.log
Created Time: 2014-10-20 13:22:55.690
!ENTRY org.talend.platform.logging 1 0 2014-10-20 13:22:55.690
!MESSAGE 2014-10-20 13:22:55,688 INFO  org.talend.designer.core.runprocess.Processor  - Command line: C:/Program Files/Java/jre7/bin/java.exe -Xms256M -Xmx512M -Dfile.encoding=UTF-8 -cp C:/Talend/5.4.2/studio/workspace/.Java/lib/advancedPersistentLookupLib-1.0.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/commons-collections-3.2.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/dom4j-1.6.1.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/jboss-serialization.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/jtds-1.2.5.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/log4j-1.2.15.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/ojdbc6.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/talend-oracle-timestamptz.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/talend_DB_mssqlUtil.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/talend_file_enhanced_20070724.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/trove.jar;.;C:/Talend/5.4.2/studio/workspace/.Java/classes;C:/Talend/5.4.2/studio/workspace/.Java/lib; talend_demo_project.client360_cdc_transform_0_1.Client360_CDC_Transform --context=Default --stat_port=3634 %*

!ENTRY org.talend.platform.logging 1 0 2014-10-20 18:22:13.977
!MESSAGE 2014-10-20 18:22:13,957 INFO  org.talend.designer.core.runprocess.Processor  - Command line: C:/Program Files/Java/jre7/bin/java.exe -Xms256M -Xmx1024M -Dfile.encoding=UTF-8 -cp C:/Talend/5.4.2/studio/workspace/.Java/lib/talendcsv.jar;C:/Talend/5.4.2/studio/workspace/.Java/lib/talend_file_enhanced_20070724.jar;.;C:/Talend/5.4.2/studio/workspace/.Java/classes;C:/Talend/5.4.2/studio/workspace/.Java/lib; talend_demo_project.preview_data.Preview_Data --context=Default %*
!ENTRY org.talend.platform.logging 1 0 2014-10-28 22:07:34.993
!MESSAGE 2014-10-28 22:07:34,993 INFO  org.talend.repository.view.svn.InitializeLockStatusLoginTask  - Initialize lock status
!ENTRY org.talend.repository.sapwizard 0 0 2014-10-28 22:07:37.113
!MESSAGE one third party library file was not found, it is required for bundle , please download it and place in
!ENTRY org.talend.repository.sapwizard 0 0 2014-10-28 22:07:37.113
!MESSAGE one third party library file was not found, it is required for bundle , please download it and place in
!ENTRY org.talend.platform.logging 2 0 2014-10-28 22:07:41.123
!MESSAGE 2014-10-28 22:07:41,122 WARN  org.talend.librariesmanager.utils.RemoteModulesHelper  - failed to connect to internet
    
Best Regards
Kalyan

Moderator

Re: [resolved] Heap space error

Hi,
Are you using Talend Open Studio 5.4.2 or Talend Enterprise Subscription Version?
We don't see any "Heap space error" from your log. Could you please give us more information about your current sitation?
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] Heap space error

Hi
Yes I am using 5.4.2. I get heap space error as follows:
!ENTRY org.talend.platform.logging 4 0 2014-10-22 16:11:07.835
!MESSAGE 2014-10-22 16:11:07,833 ERROR org.talend.commons.exception.CommonExceptionHandler  - Java heap space
!STACK 0
java.lang.OutOfMemoryError: Java heap space
    at org.eclipse.swt.graphics.Image.getImageData(Image.java:1451)
    at org.talend.commons.ui.runtime.image.ImageUtils.saveImageToData(ImageUtils.java:193)
    at org.talend.commons.ui.runtime.image.ImageUtils.saveImageToData(ImageUtils.java:179)
    at org.talend.designer.mapper.managers.UIManager.refreshVisualMapImage(UIManager.java:913)
    at org.talend.designer.mapper.managers.UIManager.prepareClosing(UIManager.java:817)
    at org.talend.designer.mapper.managers.UIManager.closeMapper(UIManager.java:767)
    at org.talend.designer.mapper.ui.footer.FooterComposite$1.widgetSelected(FooterComposite.java:90)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:234)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.talend.designer.mapper.MapperComponent.open(MapperComponent.java:167)
    at org.talend.designer.mapper.MapperComponent.open(MapperComponent.java:268)
    at org.talend.designer.core.ui.editor.nodes.NodePart.performRequest(NodePart.java:514)
    at org.eclipse.gef.tools.SelectEditPartTracker.performOpen(SelectEditPartTracker.java:194)
    at org.eclipse.gef.tools.SelectEditPartTracker.handleDoubleClick(SelectEditPartTracker.java:137)
    at org.eclipse.gef.tools.AbstractTool.mouseDoubleClick(AbstractTool.java:1069)
    at org.eclipse.gef.tools.SelectionTool.mouseDoubleClick(SelectionTool.java:525)
    at org.eclipse.gef.EditDomain.mouseDoubleClick(EditDomain.java:231)
    at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMouseDoubleClicked(DomainEventDispatcher.java:291)
    at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDoubleClick(LightweightSystem.java:518)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:189)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
Best regards,
Kalyan
Moderator

Re: [resolved] Heap space error

Hi,
All your jobs are not working right now or just a specific one which reading a huge file?
Have you already checked documents about TalendHelpCenter:Exception outOfMemory?
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.
Moderator

Re: [resolved] Heap space error

Hi kalyangupta,
Any update for your issue?
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] Heap space error

I don't think its an issue with my job. If i keep on working continuously for more than half an hour on TALEND studio, it crashes. I use some basic operations on the jobs to save run build etc. Jobs are dealing with very small database tables (Less than 100 rows). My Jobs has 2 to 3 tMaps with a max of 2 joins.
Moderator

Re: [resolved] Heap space error

Hi,
Have you tried to allocate more memory to your Talend Studio to see if it is working?
https://help.talend.com/search/all?query=Allocating+more+memory+to+Talend+Studio&content-lang=en
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.