Lines Matching refs:limit
51 ALOGV("requested limit: %zu", maxMem);
60 ALOGV("actual limit: %zu", maxMem);
62 struct rlimit limit;
63 getrlimit(RLIMIT_AS, &limit);
64 ALOGV("original limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max);
65 limit.rlim_cur = maxMem;
66 setrlimit(RLIMIT_AS, &limit);
67 limit.rlim_cur = -1;
68 limit.rlim_max = -1;
69 getrlimit(RLIMIT_AS, &limit);
70 ALOGV("new limits: %lld/%lld", (long long)limit.rlim_cur, (long long)limit.rlim_max);