Re: maximum memory limit

From: Khimenko Victor (khim@sch57.msk.ru)
Date: Tue Feb 08 2000 - 09:51:30 EST


In <381740616.949993193648.JavaMail.root@web36.pub01> Lee Chin (leechin@mail.com) wrote:
> Sorry if this is the wrong list, but what is the maximum virtual memory an
> application can malloc in the latest kernel?

960MiB with standard malloc. Then you bump in system libraries. You can allocate
more memory with mmap. Here was some talks about fixing it and make mmap and
brk regions shared so you can allocate up to 3GiB with rbk OR with mmap (and
not only with clever malloc doing combination of both) but AFAIK kernel gurus
was ignorant on subject :-/ To sad, really...

> Just doing a (for example) "malloc(1024)" in a loop will max out close to
> 1GB even though I have 4 GB ram on my system.

This is normal behaviour...

-
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 : Tue Feb 15 2000 - 21:00:12 EST