Increasing virtual memory map size

Linux® restricts the maximum number of memory maps per process. The default is 65535 on RHEL 7.

This value might be enough for most Linux applications, but depending on the IBM® Safer Payments configuration and internal data allocation sizes, IBM Safer Payments might need more memory maps. If the application reaches its maximum number of memory maps, the error message cannot allocate memory and other errors occur even if enough free RAM is available in the system. To avoid this situation, run:
echo 1048576 > /proc/sys/vm/max_map_count
This command temporarily applies the new maximum number of virtual memory maps to 1048576. If you want to increase the value permanently, you must add this value as vm.max_map_count=1048576 to the file /etc/sysctl.conf after server restart. To check whether the configuration was applied correctly run:
cat /proc/sys/vm/max_map_count
If you have a large configuration, monitor the current number of memory maps during high load. If the number of memory maps exceeds half of its maximum value, increase this value. To monitor the number of memory maps for your IBM Safer Payments process, run:
cat /proc/IRIS_PID/maps | wc -l