Unable to allocate memory

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Unable to allocate memory

Post by zulfi123786 »

I am trying to write to a hashfile using "Allow Statge Write Cache" option set. I am facing the following warnings.

djsStgFidelityBackFill_QC_52..hshTmpFidRed.lnkNewColmns: Read link private caching enabled, cache size (128MB)

djsStgFidelityBackFill_QC_52..hshStgFidelityTmp.lnkOtherArrFidelityWrite: add_to_heap() - Unable to allocate memory

Here is it trying to read all data from the source then put it into cache from there trying to write to hahsfile, where the source data is huge compared to cache memory hence throwing the above warning? and what is the heap concept here?
My job has run though with warnings, does it mean that there is a chance that the data might not have loaded accurately?
ray.wurlod
Participant
Posts: 54607
Joined: Wed Oct 23, 2002 10:52 pm
Location: Sydney, Australia
Contact:

Post by ray.wurlod »

Probably not. But it wasn't able to use the read cache, because there was not enough space there for all the data. So it has read the hashed file from disk instead.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
zulfi123786
Premium Member
Premium Member
Posts: 730
Joined: Tue Nov 04, 2008 10:14 am
Location: Bangalore

Post by zulfi123786 »

Can some one throw some light on the function add_to_heap()
ArndW
Participant
Posts: 16318
Joined: Tue Nov 16, 2004 9:08 am
Location: Germany
Contact:

Post by ArndW »

it is an undocumented internal function which add data to the memory structure.
chulett
Charter Member
Charter Member
Posts: 43085
Joined: Tue Nov 12, 2002 4:34 pm
Location: Denver, CO

Re: Unable to allocate memory

Post by chulett »

zulfi123786 wrote:what is the heap concept here?
Heap concept.
-craig

"You can never have too many knives" -- Logan Nine Fingers
Post Reply