Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for 512g (0.03 sec)

  1. platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/MaximumHeapHelperTest.groovy

            osTotalMemory           | bitMode | server | expected
            MemoryAmount.of('512g') | 64      | true   | MemoryAmount.of('32g')
            MemoryAmount.of('8g')   | 64      | true   | MemoryAmount.of('2g')
            MemoryAmount.of('512g') | 64      | false  | MemoryAmount.of('1g')
            MemoryAmount.of('2g')   | 64      | false  | MemoryAmount.of('512m')
            MemoryAmount.of('8g')   | 32      | false  | MemoryAmount.of('1g')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/resource/transfer/ResourceOperationTest.groovy

            operation.contentLength = 1024 * 10
            when:
            operation.logProcessedBytes(512 * 0)
            operation.logProcessedBytes(512 * 1)
            then:
            0 * context.progress(_)
    
            when:
            operation.logProcessedBytes(512 * 1)
            operation.logProcessedBytes(512 * 2)
            then:
            1 * context.progress(1024, 10240, "bytes", "1 KiB/10 KiB downloaded")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3K bytes
    - Viewed (0)
  3. testing/performance/src/templates/config-inject/build.gradle

        <% if (dependencies) { dependencies.each { %>
            implementation "${it.shortNotation()}" <% } %>
        <% } %>
    }
    
    test {
        if (!JavaVersion.current().java8Compatible) {
            jvmArgs '-XX:MaxPermSize=512m'
        }
        jvmArgs '-XX:+HeapDumpOnOutOfMemoryError'
    }
    
    <% if (groovyProject) { %>
    apply plugin: 'groovy'
    dependencies {
        implementation 'org.codehaus:groovy:groovy-all:2.4.15'
    }
    <% } %>
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/snippets/testing/test-suite-configure-source-dir/groovy/build.gradle

    // tag::configure-test-task[]
    testing {
        suites {
            integrationTest {
                targets {
                    all { // <1>
                        testTask.configure {
                            maxHeapSize = '512m' // <2>
                        }
                    }
                }
            }
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  5. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/testng/TestNGParallelBySuitesNotSupportedIntegrationTest.groovy

            given:
            buildFile << """
                apply plugin: 'java'
                ${mavenCentralRepository()}
                dependencies { testImplementation 'org.testng:testng:5.12.1' }
                test { useTestNG { suiteThreadPoolSize = 5 } }
            """
    
            file("src/test/java/SimpleTest.java") << """
                import org.testng.annotations.Test;
    
                public class SimpleTest {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 22:42:49 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  6. testing/performance/src/templates/kts-project-with-source/build.gradle.kts

        testImplementation("junit:junit:4.13")
        runtimeOnly("com.googlecode:reflectasm:1.01")
    }
    
    (tasks.getByName("test") as Test).apply {
        if (!JavaVersion.current().isJava8Compatible) {
            jvmArgs("-XX:MaxPermSize=512m")
        }
        jvmArgs("-XX:+HeapDumpOnOutOfMemoryError")
    }
    
    task<DependencyReportTask>("dependencyReport") {
        outputs.upToDateWhen { false }
        outputFile = File(buildDir, "dependencies.txt")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/KotlinDslFileContentGenerator.groovy

                maxParallelForks = ${config.maxParallelForks}
                setForkEvery(testForkEvery.toLong())
    
                if (!JavaVersion.current().isJava8Compatible) {
                    jvmArgs("-XX:MaxPermSize=512m")
                }
                jvmArgs("-XX:+HeapDumpOnOutOfMemoryError")
            }
    
            task<DependencyReportTask>("dependencyReport") {
                outputs.upToDateWhen { false }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/MaximumHeapHelper.java

         */
        public long getDefaultMaximumHeapSize(long osTotalMemory) {
            if (isIbmJvm()) {
                long totalMemoryHalf = osTotalMemory / 2;
                long halfGB = MemoryAmount.parseNotation("512m");
                return totalMemoryHalf > halfGB ? halfGB : totalMemoryHalf;
            }
    
            long totalMemoryFourth = osTotalMemory / 4;
            long oneGB = MemoryAmount.parseNotation("1g");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:10:02 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/optimizing-performance/file_system_watching.adoc

    ----
    
    To increase the limit to e.g. 512K watches run the following:
    
    [source,bash]
    ----
    echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
    ----
    [source,bash]
    ----
    sudo sysctl -p --system
    ----
    
    Each used inotify watch takes up to 1KB of memory.
    Assuming inotify uses all the 512K watches then file system watching could use up to 500MB.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Feb 26 16:37:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  10. testing/architecture-test/build.gradle.kts

            ruleFile = ruleStoreDir.file("stored.rules").asFile
        }
    
        test {
            // Looks like loading all the classes requires more than the default 512M
            maxHeapSize = "1g"
    
            // Only use one fork, so freezing doesn't have concurrency issues
            maxParallelForks = 1
    
            inputs.dir(ruleStoreDir)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top