At 16:13 06/01/00 +0100, Peter Tufvesson wrote:
>I have now tried the program below on 2.2.12, 2.2.13, 2.3.36 (High memory
>support: Off, 4GB and 64GB) with the same result:
>
>My program can only allocate 910MB !!!
>
>What can be done about this? I need at least 2GB of virtual memory per
>process. I thought Linux could handle this?
linux can handle it.
you need your malloc library to support getting additional pages via mmap().
brk() will only allow you to allocate up to ~910M.
the simplest way of explaining this is for you to download dlmalloc and use
that.
see http://g.oswego.edu/dl/html/malloc.html
cheers,
lincoln.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Fri Jan 07 2000 - 21:00:07 EST