- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for calculateMaxHeapMB (0.13 sec)
-
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/HeapProportionalCacheSizer.java
this.sizingRatio = calculateRatioToDefaultAvailableHeap(); } public HeapProportionalCacheSizer() { this(calculateMaxHeapMB()); } private static int calculateMaxHeapMB() { return (int) (Runtime.getRuntime().maxMemory() / (1024 * 1024)); } private double calculateRatioToDefaultAvailableHeap() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.5K bytes - Viewed (0)