- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Memory Allocation Failure Error
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
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
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-21-2011 10:39 PM
тАО02-21-2011 10:39 PM
Memory Allocation Failure Error
One of the process got failed during the process of allocating a small amount of memory (less than 10 MB). I don't know the exact memory usage at that particulat moment,but when I monitored the system continuously after that there's enough memory available. The top output shows that
Total Memory available : 78 GB
Memory Cached : 73 GB
Memory free : 255MB
So I think there was enough memory when the process crashed and it's failed due to some other reason. So I would like to know the different reasons for gettign this error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-21-2011 11:37 PM
тАО02-21-2011 11:37 PM
Re: Memory Allocation Failure Error
Kindly let us know the following:
What is the Operating System/Kernel?
What is the process that failed?
What is the server hardware model?
These things will help us to answer your query.
Thanks.
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 02:30 AM
тАО02-22-2011 02:30 AM
Re: Memory Allocation Failure Error
Kernel version is 2.6.9-67
Platform is X86_64
The process was a C++ program.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 04:00 AM
тАО02-22-2011 04:00 AM
Re: Memory Allocation Failure Error
You are allocating memory using malloc /new right ? or some other wierd way by using sbrk() or something ? . I will take a look at the lidstdc++, linux kernel code and get back to you.
It would be nice to check the errno variable. Theoretical answer is fragmentation :).
--Lucifer Megacruel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2011 08:38 PM
тАО02-22-2011 08:38 PM
Re: Memory Allocation Failure Error
As per your TOP comand output 93% of your RAm used as cached memory. Can you reduce that?
I myself don't know how to reduce cached memory but article may help you out
http://www.scottklarr.com/topic/134/linux-how-to-clear-the-cache-from-memory/
Regards,
Pramod.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-23-2011 02:48 AM
тАО02-23-2011 02:48 AM
Re: Memory Allocation Failure Error
So in my case there was enough memory(cache) but it couldn't allocate it to the process. Is there any restriction in allocating memory from cache?