Searched refs:maxMemory (Results 1 – 5 of 5) sorted by relevance
54 long maxMemory = Runtime.getRuntime().maxMemory(); in findLimit() local55 if (maxMemory > Integer.MAX_VALUE) in findLimit()60 return (int) maxMemory; in findLimit()
Runtime.java package java.lang public java.lang.Runtime extends java.lang.Object ...
77 static const size_t maxMemory = (sizeof(size_t)==4) ? (2 GB - 64 MB) : (size_t)(1ULL << ((sizeof(… variable369 if (requiredMem > maxMemory) requiredMem = maxMemory; in BMK_findMaxMem()
51 Validator(long maxMemory, int numberOfHandles) { in Validator() argument52 mMaxMemory = maxMemory; in Validator()
140 - private static final long MAX_MEMORY = Runtime.getRuntime().maxMemory();142 + // private static final long MAX_MEMORY = Runtime.getRuntime().maxMemory();153 + long maxMemory = Runtime.getRuntime().maxMemory();154 + if (maxMemory > Integer.MAX_VALUE)160 + return (int) maxMemory;