- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- aCC runtime: Uncaught exception of type "bad_alloc...
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
Discussions
Discussions
Forums
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
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
тАО02-09-2009 11:24 PM
тАО02-09-2009 11:24 PM
aCC runtime: Uncaught exception of type "bad_alloc"
aCC runtime: Uncaught exception of type "bad_alloc"
We have increased the maxdsiz/maxdsiz_64bit values, but didn't resolve the issue. Kindly recommend any other kernel values needs to be increased.
Server Configuration
Physical Memory - 32GB
Swap Space - 64GB
maxdsiz - 1073741824
maxdsiz_64bit - 2147483648
B9007AA - B.11.11.18 HP C/aC++ Developer's Bundle installed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 12:20 AM
тАО02-10-2009 12:20 AM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Consider that this is not a kernel problem.
Perhaps aCC needs a patch.
Perhaps the code being compiled is flawed and needs a change.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 03:47 AM
тАО02-10-2009 03:47 AM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Your maxdsiz and maxdsiz_64bit aren't big enough?
What version of aC++ are you using?
>SEP: Consider that this is not a kernel problem.
Right, it is a user problem.
>Perhaps aCC needs a patch.
Where do you get this strange idea? This means the application is broken and the user didn't handle out of memory errors. The sysadmin needs to make more, or the user must compile with +DD64 and port to 64 bit.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2009 09:10 PM
тАО02-10-2009 09:10 PM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Here are the details
maxssiz value is 134217728
aC++ version is 3.80
Required patched have been installed for aCC
If maxdsiz and maxdsiz_64bit values are not enough, Please suggest recommended value to be set.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-11-2009 03:02 AM
тАО02-11-2009 03:02 AM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
That's too bit, it takes away 134 Mb from your maxdsiz. Try 80 Mb.
>If maxdsiz and maxdsiz_64bit values are not enough
Set maxdsiz to 2 Gb and maxdsiz_64bit to 4 Gb.
You'll also have to link with -N.
Perhaps SEP was suggesting you may have a memory leak and no matter how big you made maxdsiz, it would run out of heap. How long does it take before it aborts?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-28-2009 05:45 PM
тАО10-28-2009 05:45 PM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Is your problem solved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-29-2009 01:22 AM
тАО10-29-2009 01:22 AM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Why are you asking, do you have similar problem?
If so the answers haven't changed.
If you need more details, please create your own thread so you can assign points. If there is some here, you can add a URL for this one.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 09:59 PM
тАО11-08-2009 09:59 PM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
Thanks all for your valuable suggestions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-08-2009 11:53 PM
тАО11-08-2009 11:53 PM
Re: aCC runtime: Uncaught exception of type "bad_alloc"
If you are happy with the answers you were given, please read the following about how to assign points:
http://forums.itrc.hp.com/service/forums/helptips.do?#33