- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how to increase heap memory size
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 06:43 AM
07-12-2006 06:43 AM
Failed to allocate 168 bytes.
Current data ulimit is 536870912 bytes.
Current address space ulimit is 'unlimited'.
The software has a built-in data size limit of 1073741823 bytes.
Heap is at least 536843016 bytes already.
ABINITIO (2.13.1): Wed Jul 12 05:19:24 2006
ABINITIO: Rolling back ... Done.
ABINITIO: Job may be continued from last checkpoint by: re-running
pls find the ulimt value
# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 524288
stack(kbytes) 8192
memory(kbytes) unlimited
coredump(blocks) 4194303
Is anybody can suggest what is the cause of this job failure ?
Do we need to change data)kbytes) =524288 to some other value
If so how to change the value ?
Pls advise
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 06:50 AM
07-12-2006 06:50 AM
Re: how to increase heap memory size
Change your kernel's 'maxdsiz' for 32-bit processes and/or 'maxdsiz_64bit' for 64-bit processes.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 06:52 AM
07-12-2006 06:52 AM
Re: how to increase heap memory size
if you can't increase large enough I believe that is the maxdsiz kernel parameter.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:11 AM
07-12-2006 07:11 AM
Re: how to increase heap memory size
pls find the vaules
# ulimit -d
524288
# kmtune |grep -i maxdsiz_64
maxdsiz_64bit 0x0000000040000000
# kmtune |grep -i maxdsiz
maxdsiz 0X20000000
maxdsiz_64bit 0x0000000040000000
could you pls suggest how can i drive a new kernel value
Thanks
ajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:14 AM
07-12-2006 07:14 AM
Re: how to increase heap memory size
One (not so obvious) thing to check is maxdsiz_64bit even for 32-bit processes because the smaller of the two "wins". This means that you need to check that each of the maxXsiz_64bit values to make sure that they are at least as big as their 32-bit counterparts.
You could also be limited by the amount of virtual address space so that you may need more swap space.
You should also post the output of "chatr myexecutable" so that we can know if any special compiler/linker options were used --- and if this is a 32-bit or 64-bit executable.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 07:53 AM
07-12-2006 07:53 AM
Re: how to increase heap memory size
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 1024 0 1024 0% 0 - 1 /dev/vg00/lvol2
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap01
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap02
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap03
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap04
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap05
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap06
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap07
dev 1024 0 1024 0% 0 - 1 /dev/optvg/fs_swap08
reserve - 1266 -1266
memory 6340 1235 5105 19%
total 15556 2501 13055 16% - 0 -
# model
9000/800/N4000-55
#
maxdsiz 536870912 536870912 Static N/A M â â
â â maxdsiz_64bit 1073741824 1073741824 Static N/A M
maxssiz 8388608 8388608 Static N/A M â â
â â maxssiz_64bit 8388608 8388608 Static N/A M
The server has 8 GB of physical ram
Is there any way to monitor maxdsize usage ?
Pls suggest do i need to change any kernal parameter to complete this job .This is a regular production job which is failed today .
Any input will be highly appriciated
Thanks
ajeesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 08:05 AM
07-12-2006 08:05 AM
Re: how to increase heap memory size
While, you are tuning I would increase maxssiz upto about 32Mib and maxssiz_64bit upto about 64Mib. Your present value (8Mib) is a little on the small side but only very poorly written software would ever need stacks any larger than I have suggested.
You also appear to have enough swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 08:14 AM
07-12-2006 08:14 AM
Re: how to increase heap memory size
Well, 'maxdsiz' is 0x20000000 = 536870912
and 'maxdsiz_64bit' is 0x0000000040000000 = 1073741824 , which of course is twice as big.
These are the values you originally reported in your error message, so now you see how they relate.
Increase 'maxdsiz' by two-fold.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 11:57 AM
07-12-2006 11:57 AM
Re: how to increase heap memory size
can i use ulimt command to set it temporarly .if yes what is the syntax or i need to rebould the kernel to change the maxdsize value .
Thanks
ajeesh
DSTs Unix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 12:12 PM
07-12-2006 12:12 PM
Solution- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-12-2006 12:18 PM
07-12-2006 12:18 PM
Re: how to increase heap memory size
You will need to tune 'maxdsiz' and rebuild your kernel. The value of 'maxdsiz' is a ceiling. You can use 'ulimit' to lower it, but not raise it.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2006 01:10 PM
07-14-2006 01:10 PM