#1 2010-07-22 12:06:55

cagey76
Member
Registered: 2008-02-19
Posts: 52

Heap Space Memory Error

I have a Job Design that will run successfully with small volume but as soon as I try larger volume it crashes with the below error.  This happens both on a windows machine with the job being run via TOS,  and also after deploying on a Unix box.

It looks like records (1 million) are being read ok from the input sources, but that maybe the tmap is unable to cope.   I have used the 'store on disk' option,  and have experimented with the 'Max Buffer Size, nb of rows.   I have also tried setting the Xmx param higher in both the TOS preferences,  and the Unix wrapper script.  Again without success.

Any suggestions appreciated.







Starting job Recon_Dn001schedule at 10:43 22/07/2010.

[statistics] connecting to socket on port 3572
[statistics] connected
Buffer marked at index (1-Lookup) 2000000, to avoid a heap space memory error try to increase the JVM Xmx parameter.
#
# A fatal error has been detected by the Java Runtime Environment:
#
# java.lang.OutOfMemoryError: requested 4092 bytes for char in C:\BUILD_AREA\jdk6_20\hotspot\src\share\vm\utilities\stack.inline.hpp. Out of swap space?
#
#  Internal Error (allocation.inline.hpp:39), pid=4240, tid=2812
#  Error: char in C:\BUILD_AREA\jdk6_20\hotspot\src\share\vm\utilities\stack.inline.hpp
#
# JRE version: 6.0_20-b02
# Java VM: Java HotSpot(TM) Client VM (16.3-b01 mixed mode windows-x86 )
# An error report file with more information is saved as:
# C:\Talend\TOS-Win32-r43696-V4.0.2\hs_err_pid4240.log
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
#
Job Recon_Dn001schedule ended at 10:44 22/07/2010. [exit code=1]


Uploaded Images

Offline

#2 2010-07-22 12:27:27

cagey76
Member
Registered: 2008-02-19
Posts: 52

Re: Heap Space Memory Error

Since writing that, I have tried reducing the max buffer size,  and am having some success.  I'll report back as it runs.   

I presume I am taking a bit performance hit here.

Offline

#3 2011-01-18 07:08:04

Joe
Member
Registered: 2011-01-07
Posts: 102

Re: Heap Space Memory Error

Hi cagey76,
I meet the same error now, have you solved the problem?
hope for your suggestion.
best regards

Offline

#4 2011-01-18 11:08:19

cagey76
Member
Registered: 2008-02-19
Posts: 52

Re: Heap Space Memory Error

Joe,  the MySQL input component has an advanced setting of 'enable stream',   using this solved my problem.

Offline

Board footer

Powered by FluxBB