Searched refs:maxMem (Results 1 – 1 of 1) sorted by relevance
36 size_t maxMem = SIZE_MAX; in limitProcessMemory() local40 maxMem = size_t(numPages) * size_t(pageSize); in limitProcessMemory()42 ALOGV("physMem: %zu", maxMem); in limitProcessMemory()47 maxMem = maxMem / 100 * percentageOfTotalMem; in limitProcessMemory()48 if (numberOfBytes < maxMem) { in limitProcessMemory()49 maxMem = numberOfBytes; in limitProcessMemory()51 ALOGV("requested limit: %zu", maxMem); in limitProcessMemory()56 int64_t propVal = property_get_int64(property, maxMem); in limitProcessMemory()58 maxMem = propVal; in limitProcessMemory()62 if (maxMem != SIZE_MAX && &__scudo_set_rss_limit != 0) { in limitProcessMemory()[all …]