Heap allocation failed.

Post questions here relative to DataStage Enterprise/PX Edition for such areas as Parallel job design, Parallel datasets, BuildOps, Wrappers, etc.

Moderators: chulett, rschirm, roy

laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Heap allocation failed.

Post by laxmi_etl »

Any thoughts on below error??


APT_CombinedOperatorController,0: Current heap size: 1,595,049,352 bytes in 66,276,970 blocks
BC_Enterprise_6,0: Failure during execution of operator logic.
ODBC_Enterprise_6,0: Input 0 consumed 1616342 records.
APT_CombinedOperatorController,0: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
node_node1: Player 2 terminated unexpectedly.
PT_CombinedOperatorController,1: Current heap size: 1,595,049,328 bytes in 66,276,969 blocks
ODBC_Enterprise_6,1: Failure during execution of operator logic.
APT_CombinedOperatorController,1: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
ode_node2: Player 1 terminated unexpectedly.
Oracle_Enterprise_0,0: Failure during execution of operator logic.
Oracle_Enterprise_0,0: Fatal Error: Unable to allocate communication resources
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

whst is ur job design, are u using join stage in ur job?
hi sam here
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

simple database to database job with lot of data..
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

There is more to it than a DB stage to DB stage. The "Heap" is used when sorting (or repartitioning), so perhaps you could explain a bit more about what you are doing.
Last edited by ArndW on Fri Oct 13, 2006 3:10 pm, edited 1 time in total.
samsuf2002
Premium Member
Premium Member
Posts: 397
Joined: Wed Apr 12, 2006 2:28 pm
Location: Tennesse

Post by samsuf2002 »

error due to heap is about allocation of memory resources u need to increase the memory size of the server or try to run fewer jobs simultaneously.
hi sam here
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

This is a simple ORacle to ORacle job
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

Does that mean Oracle to Oracle with no other stages?
laxmi_etl
Charter Member
Charter Member
Posts: 117
Joined: Thu Sep 28, 2006 9:10 am

Post by laxmi_etl »

correct.
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Many lakhs of rows in a single transation? Note from the message that it is coming from the ODBC driver; this means that something relating to the database has run out of memory - probably your enormous transaction.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Try to have a commit with long intervals.
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

Hi,

I think, may be here problem is pertaining loading the data from one database to other database with out any stage between them. Just, try out this option, Use a Copy stage between these two stages and try out to load the data. Here Copy Stage work as an optimizer. It will provide buffer to hold the rows while datastage is processing rows.

If you do include a copy stage between the two databases to avoid the space issue, please ensure that property Force is set to "True". Else the copy process will be eliminated for optimization purposes.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

Hi,

I think, may be here problem is pertaining loading the data from one database to other database with out any stage between them. Just, try out this option, Use a Copy stage between these two stages and try out to load the data. Here Copy Stage work as an optimizer. It will provide buffer to hold the rows while datastage is processing rows.

If you do include a copy stage between the two databases to avoid the space issue, please ensure that property Force is set to "True". Else the copy process will be eliminated for optimization purposes.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

Hi,

I think, may be here problem is pertaining loading the data from one database to other database with out any stage between them. Just, try out this option, Use a Copy stage between these two stages and try out to load the data. Here Copy Stage work as an optimizer. It will provide buffer to hold the rows while datastage is processing rows.

If you do include a copy stage between the two databases to avoid the space issue, please ensure that property Force is set to "True". Else the copy process will be eliminated for optimization purposes.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
kumar_s
Charter Member
Charter Member
Posts: 5245
Joined: Thu Jun 16, 2005 11:00 pm

Post by kumar_s »

Dont you have the buffering property to edit in Database stage output tab?
Impossible doesn't mean 'it is not possible' actually means... 'NOBODY HAS DONE IT SO FAR'
Nageshsunkoji
Participant
Posts: 222
Joined: Tue Aug 30, 2005 2:07 am
Location: pune
Contact:

Post by Nageshsunkoji »

Hi All,

Apologises for the above repeated post, I got some problems in my browser, It have submit my post 3 times.

Regards
Nagesh.
NageshSunkoji

If you know anything SHARE it.............
If you Don't know anything LEARN it...............
Post Reply