Page 1 of 2

Heap allocation failed.

Posted: Fri Oct 13, 2006 2:44 pm
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

Posted: Fri Oct 13, 2006 2:54 pm
by samsuf2002
whst is ur job design, are u using join stage in ur job?

Posted: Fri Oct 13, 2006 2:55 pm
by laxmi_etl
simple database to database job with lot of data..

Posted: Fri Oct 13, 2006 3:01 pm
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.

Posted: Fri Oct 13, 2006 3:04 pm
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.

Posted: Fri Oct 13, 2006 3:21 pm
by laxmi_etl
This is a simple ORacle to ORacle job

Posted: Fri Oct 13, 2006 3:28 pm
by ArndW
Does that mean Oracle to Oracle with no other stages?

Posted: Fri Oct 13, 2006 3:55 pm
by laxmi_etl
correct.

Posted: Fri Oct 13, 2006 4:03 pm
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.

Posted: Fri Oct 13, 2006 11:23 pm
by kumar_s
Try to have a commit with long intervals.

Posted: Mon Oct 16, 2006 3:07 am
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.

Posted: Mon Oct 16, 2006 3:08 am
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.

Posted: Mon Oct 16, 2006 3:11 am
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.

Posted: Mon Oct 16, 2006 3:15 am
by kumar_s
Dont you have the buffering property to edit in Database stage output tab?

Posted: Mon Oct 16, 2006 3:15 am
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.