Subject: 127MB limits NetBSD memory allocation?
To: NetBSD <netbsd-users@netbsd.org>
From: Ezequiel Reyes <ezequiel.reyes@newhotel.co.cu>
List: netbsd-users
Date: 07/12/2005 09:01:11
Hi, I've been trying to compile a program for NetBSD that uses mmap() to map
128MB to memory. But the function gives me a not enogh memory error (can't
remember the man constant right now), I then tried 127 and it work ok. I
then used malloc() to try getting 128, but it can't allocate as much either,
only 127 again. Is this a limitation of NetBSD? I can allocate 128 on other
platforms with no problem using either mmap or malloc.