Re: _alloc_pages: allocation failed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, 1. Juni 2004 09:12 schrieben Sie:
> On Tue, Jun 01, 2004 at 08:16:52 +0200, Franz Reinhardt wrote:
> > Hi,
> >
> > on my linux system, I've got the following message:
> > _alloc_pages: 0-order allocation failed. Killing application foo
> >
> > Can anybody explain me, what's happening ? Is it just a memory leak of
>
> the
>
> > application ? Or has it to do with reusing swapped memory pages ?
>
> It's an out-of-memory kill. You were out of memory. Completely. So the
> kernel decided that the only way to get the page was to kill some
> process. And did so, using SIGKILL.
>
How can this happen ? I mean, you can't allocate new memory if it's not 
available, you'll get a NULL-pointer if you try to malloc(). And if you try 
to access to that memory, the application will end up with an segmentation 
fault.

Franz



--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux