lkml.org 
[lkml]   [2000]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: maximum memory limit
    On Tue, 8 Feb 2000, Rik van Riel wrote:

    > Problem is that libc malloc() appears to use brk() only, so
    > it is limited to 900MB. You can fix that by doing the brk()
    > and malloc() yourself, but I think that in the long run the
    > glibc people may want to change their malloc implementation
    > so that it automatically supports the full 3GB...

    The glibc manual says that for allocations much greater
    than the page size (no, it doesn't quantify "much") it
    will use anonymous mmap of /dev/zero.

    It's probably a bad idea to allocate over a gigabyte in
    1K chunks anyway...

    Matthew.


    -
    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/

    \
     
     \ /
      Last update: 2005-03-22 13:56    [W:4.139 / U:0.040 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site