[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Running out of memory in 1 easy step
On Thu, Sep 14, 2000 at 03:00:20PM +0200, Wichert Akkerman wrote:
>
> I have a small test program that consistently can't allocate more
> memory using mmap after 458878 allocations, no matter how much memory
> I allocate per call (tried with 8, 80, 800 and 4000 bytes per call):
> mmap returns ENOMEM. The machine has plenty memory available (2Gb
> and no other processes are running except standard daemons) so there
> should be enough memory.
There is a hardwired limit of 1024 vmas/process. This is to avoid denial
of service attacks with attackers using up all memory with vmas.
-Andi
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/