- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Catastrophic error #21015: Out of memory
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
тАО12-23-2009 06:21 AM
тАО12-23-2009 06:21 AM
Re: Catastrophic error #21015: Out of memory
Do you get a warning saying the compile is restarting at a lower opt level?
(In future compilers, we will no longer do that if we run out of memory.)
>Is this okay to use as a workaround? OR is it worth while to try other option?
If it drops the opt level of the whole file then you'll probably get better performance if you limit the opt level drop with:
+O1=function1,function2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 02:07 AM
тАО12-24-2009 02:07 AM
Re: Catastrophic error #21015: Out of memory
After removing option +Onofailsafe, it builds with folloiwng warning:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Warning #21015-D: Out of memory
Warning #20013-D: Optimization aborted in function unknown. Attempting
compilation unit again but dropping the optimization level to +O1.
Please report this warning and error 21015 to HP. (20013)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2.
I directly lowering the optimization from +O2 to +O1. With this I am able to build required object file.
3.
Then I tried to include almost all changed procedure to +O1 (+O1=func1,func2, func3, etc) in the compiler line. But, still I got same Catastrophic error #21015. So, I don't think it's too effective.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 04:04 AM
тАО12-24-2009 04:04 AM
Re: Catastrophic error #21015: Out of memory
Ok, the whole file is dropped to +O1 and unfortunately it doesn't list a particular function name. Do you have lots of data initialization?
>I directly lowering the optimization from +O2 to +O1.
That's the same as +Ofailsafe.
>3. Then I tried to include almost all changed procedure to +O1 (+O1=func1,func2, func3, etc) in the compiler line.
You may have to include ALL functions and then binary search though them to remove them.
Or break up any large functions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 04:58 AM
тАО12-24-2009 04:58 AM
Re: Catastrophic error #21015: Out of memory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2009 05:18 AM
тАО12-24-2009 05:18 AM
Re: Catastrophic error #21015: Out of memory
Why? It would be illegal for the compiler to use space in /tmp/. It uses /var/tmp/ or $TMPDIR and then very very rarely. Use "cc -v".
error #21015: Out of memory is for swap space or maxdsiz and not disk space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2009 04:31 AM
тАО12-28-2009 04:31 AM
Re: Catastrophic error #21015: Out of memory
- « Previous
-
- 1
- 2
- Next »