Searched refs:maxMem (Results 1 – 2 of 2) sorted by relevance
20 long maxMem = Runtime.getRuntime().maxMemory(); in main() local21 Object[] holder = new Object[(int)maxMem / 16]; in main()33 holder[0] = new Object[(int)maxMem / 8]; in main()
29 static long maxMem = 0; field in Main49 if (nativeBytes > 2 * maxMem) { in NativeAllocation()73 maxMem = Runtime.getRuntime().maxMemory(); in main()75 int size = (int)(maxMem / 2 / count); in main()