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

Re: __alloc_pages: 2-order allocation failed



On Tue, 29 Mar 2005 13:43:10 -0500
Mike Edwards <sauron-debian-sparc@psychology.rutgers.edu> wrote:

> The odd thing is, psychology shouldn't be running out of memory - this
> beast has 4 GB.

It's not running out of memory so much as memory is too fragmented
to produce a 2-order allocation successfully.

The kernel uses the buddy-system algorithm to allocate free pages,
this means when a 2-order allocation is requested the kernel has to
find 4 consequetive and aligned pages in the free page pool.  Sometimes
after lots of uptime, this is difficult if not impossible to achieve.



Reply to: