Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for MaxHeap (0.28 sec)

  1. platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/OptionsVerifier.groovy

        OptionsVerifier(File processJsonFile) {
            this.processJsonFile = processJsonFile
        }
    
        void minHeap(String value) {
            options.add(new MinHeap(value))
        }
    
        void maxHeap(String value) {
            options.add(new MaxHeap(value))
        }
    
        void jvmArgs(String value) {
            options.add(new JvmArg(value))
        }
    
        void systemProperty(String name, String value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  2. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/WorkerDaemonExpirationTest.groovy

        }
    
        private JavaForkOptions javaForkOptions(String minHeap, String maxHeap, List<String> jvmArgs) {
            def options = TestFiles.execFactory().newJavaForkOptions()
            options.workingDir = systemSpecificAbsolutePath("foo")
            options.minHeapSize = minHeap
            options.maxHeapSize = maxHeap
            options.jvmArgs = jvmArgs
            return options
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Mar 21 14:56:11 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/HealthExpirationStrategy.java

                    ? "The daemon will restart for the next build, which may increase subsequent build times"
                    : "The memory settings for this project must be adjusted to avoid this failure";
    
                String maxHeap = heapStats.isValid() ? NumberUtil.formatBytes(heapStats.getMaxSizeInBytes()) : "unknown";
                String maxMetaspace = nonHeapStats.isValid() ? NumberUtil.formatBytes(nonHeapStats.getMaxSizeInBytes()) : "unknown";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

          case 2:
            return 1; // The lone element in the maxHeap is the maximum.
          default:
            // The max element must sit on the first level of the maxHeap. It is
            // actually the *lesser* of the two from the maxHeap's perspective.
            return (maxHeap.compareElements(1, 2) <= 0) ? 1 : 2;
        }
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

        new File(projectDirectory, "gradle.properties") << "\norg.gradle.workers.max=${maxWorkers}\n"
    
    }
    
    private void setMaxHeap(File projectDirectory, String maxHeap) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.jvmargs=-Xmx${maxHeap}\n"
    
    }
    
    private void setParallel(File projectDirectory, boolean parallel) {
        new File(projectDirectory, "gradle.properties") << "\norg.gradle.parallel=${parallel}\n"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  7. platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/WorkerDaemonIntegrationTest.groovy

        def "interesting worker daemon fork options are honored"() {
            OptionsVerifier optionsVerifier = new OptionsVerifier(file('process.json'))
            optionsVerifier.with {
                minHeap("128m")
                maxHeap("128m")
                systemProperty("foo", "bar")
                jvmArgs("-Dbar=baz")
                defaultCharacterEncoding("UTF-8")
                enableAssertions()
                environmentVariable("foo", "bar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 8.6K bytes
    - Viewed (0)
Back to top