mirror of
https://github.com/minio/minio.git
synced 2025-11-20 01:50:24 -05:00
On unix systems it is possible to set max memory used by running processes using 'ulimit -m' or 'syscall.RLIMIT_AS'. A process whence exceeds this limit, kernel would pro-actively kill such a server with OOM. To avoid this problem of defaulting our cache size to 8GB we should look for if the current system limits are lower and set the cache size appropriately.
2.4 KiB
2.4 KiB