Lines Matching defs:max_mem
160 uint64_t max_mem; /* usermem64 returns bytes */
161 size_t max_mem_sz = sizeof(max_mem);
172 &max_mem, &max_mem_sz, NULL, 0) < 0) {
177 if (max_mem > rlim.rlim_cur && rlim.rlim_cur != RLIM_INFINITY)
178 max_mem = rlim.rlim_cur;
185 max_mem /= 1000000; /* bytes down to mb */
186 if (max_mem > 30000) {
188 } else if (max_mem > 15000) {
190 } else if (max_mem > 7000) {
192 } else if (max_mem > 3000) {
194 } else if (max_mem > 900) {
196 } else if (max_mem > 24) {