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()
63 long maxMem = Runtime.getRuntime().maxMemory(); in checkRegisterNativeAllocation() local64 int size = (int)(maxMem / 32); in checkRegisterNativeAllocation()96 System.out.println(" original maxMemory() = " + maxMem + " current maxMemory() = " in checkRegisterNativeAllocation()122 long maxMem = Runtime.getRuntime().maxMemory(); in triggerBlockingRegisterNativeAllocation() local123 int size = (int)(maxMem / 5); in triggerBlockingRegisterNativeAllocation()