Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getCommitLimit (0.11 sec)

  1. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/WindowsOsMemoryInfo.java

                    // for us to not force the user's OS to allocate more page file space, so we'll use the commit limit here.
                    windowsMemoryInfo.getCommitLimit(), availableCommitMemory(windowsMemoryInfo)
                );
            } else {
                return new OsMemoryStatusSnapshot(
                    memoryInfo.getTotalPhysicalMemory(), memoryInfo.getAvailablePhysicalMemory()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/WindowsOSMemoryInfoTest.groovy

            then:
            1 * info.getTotalPhysicalMemory() >> MemoryAmount.ofGigaBytes(32).bytes
            1 * info.getAvailablePhysicalMemory() >> MemoryAmount.ofGigaBytes(16).bytes
            2 * info.getCommitLimit() >> MemoryAmount.ofGigaBytes(64).bytes
            1 * info.getCommitTotal() >> MemoryAmount.ofGigaBytes(48).bytes
    
            and:
            snapshot.getPhysicalMemory().getTotal() == MemoryAmount.ofGigaBytes(32).bytes
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 20 23:56:19 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top