Maximum number of mmap()’ed ranges and how to set it on Linux?
What’s the maximum number of mmap()‘ed ranges that a process can makes and how to set the limits on Linux? I have a program that mmap()s and mprotect()s lots ranges. After allocating many ranges, mprotect() starts to fail with ENOMEM error number. From the man page, ENOMEM means 2 possible problems: ENOMEM Internal kernel structures … Continue reading Maximum number of mmap()’ed ranges and how to set it on Linux?
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed