How to set the path for the heap dump files via DS project environment variables

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

Post Reply
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

How to set the path for the heap dump files via DS project environment variables

Post by chanaka »

Dear Experts,

We have a XML hierarchy job failing in PROD environment with a XML_stage,0: JVMDUMP030W Cannot write dump to file /home/runtimeuser/heapdump.20210708.123556.35873.0002.phd: No space left on device error. We can further diagnose the issue by directing the dump files to a different path with more space. It would be very much appreciated if someone can help us to pinpoint the environment variable that can be used to override the default setting and set it to a different directory?
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Re: How to set the path for the heap dump files via DS project environment variables

Post by PaulVL »

I would experiment with changing these two environment variables. $HOME and/or CWD. Set those at a job level. Force your job to fail and see where the dump goes.
chanaka
Premium Member
Premium Member
Posts: 96
Joined: Tue Sep 15, 2009 4:06 am
Location: United States

Re: How to set the path for the heap dump files via DS project environment variables

Post by chanaka »

Thanks Paul. Will check and let you know.
PaulVL
Premium Member
Premium Member
Posts: 1315
Joined: Fri Dec 17, 2010 4:36 pm

Re: How to set the path for the heap dump files via DS project environment variables

Post by PaulVL »

How did it go?
Post Reply