lkml.org 
[lkml]   [2000]   [Feb]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: maximum memory limit
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/

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