What is maximum number of mmaped areas?
I've run into what I assume is some kind of system wide or process limit with regard to the number of outstanding mmap()ed areas in memory. I'm running RHEL 4 kernel 2.6.9-42.ELsmp. I get an error after 65494 mappings and perror reports : cannot allocate memory. I know this is a relatively large number of mapped areas at one time, but the total number I need is perhaps more than 1 million. I've run this on Solaris86 without error and I'm trying it on AIX now.
Does anyone know what limit I'm hitting and how I may be able to increase the limit? Ideally I'd like to increase the limit without having to re-build the kernel - I don't want to ask customers to re-build all their kernels. Thanks!
Brion