Heap Allocation Problem
Moderators: chulett, rschirm, roy
Heap Allocation Problem
log errors:
main_program: The current soft limit on the data segment (heap) size (805306368) is less than the hard limit (2147483647), consider increasing the heap size limit
main_program: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
main_program: The current soft limit on the data segment (heap) size (805306368) is less than the hard limit (2147483647), consider increasing the heap size limit
main_program: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
-
- Premium Member
- Posts: 210
- Joined: Wed Feb 16, 2005 7:17 am
Re: Heap Allocation Problem
rsripathy
You can increase through Datastage Client (Adminstrator).
You can increase through Datastage Client (Adminstrator).
rsripathy wrote:log errors:
main_program: The current soft limit on the data segment (heap) size (805306368) is less than the hard limit (2147483647), consider increasing the heap size limit
main_program: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Yeah?!!
Please elaborate on how you can change an operating system setting through the DataStage Administrator client. Particularly something like ulimit, which requires superuser privileges to increase.
![Shocked :shock:](./images/smilies/icon_eek.gif)
Please elaborate on how you can change an operating system setting through the DataStage Administrator client. Particularly something like ulimit, which requires superuser privileges to increase.
Last edited by ray.wurlod on Mon Jun 23, 2008 6:02 am, edited 1 time in total.
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Re: Heap Allocation Problem
Check the ulimit firstrsripathy wrote:log errors:
main_program: The current soft limit on the data segment (heap) size (805306368) is less than the hard limit (2147483647), consider increasing the heap size limit
main_program: Fatal Error: Throwing exception: APT_BadAlloc: Heap allocation failed.
From unix Prompt type in > ulimit -aH ( for hard allocation limits) and > ulimit -aS (for soft allocation)
1)If they are not set to "unlimited" , ask your UNIX admin to do that.
2) Also frequest him to have sufficient temporary space( Scratch) added.
3) If you are using DB2 API stage there is a memory leak issue and you need to contact support to give you a patch.
I have seen similar issue in ODBC stage as well, but I am not sure of a patch available for it.
Thaks,
Joffi Joy.