Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 133 for 512g (0.04 sec)

  1. 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)
  2. 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)
  3. build-logic/performance-testing/src/main/groovy/gradlebuild.performance-templates.gradle

    performanceTest.registerTestProject("ktsManyProjects", KtsProjectGeneratorTask) {
        projects = 100
        sourceFiles = 0
        daemonMemory = '512m'
    }
    
    performanceTest.registerTestProject("ktsSmall", KtsProjectGeneratorTask) {
        daemonMemory = '512m'
    }
    
    // === Native Software Model ===
    performanceTest.registerTestProject("smallNative", NativeProjectGeneratorTask) {
        projects = 1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 15:43:39 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  4. test/heapsampling.go

    // run to run. To avoid flakes, this test performs multiple
    // experiments and only complains if all of them consistently fail.
    func main() {
    	// Sample at 16K instead of default 512K to exercise sampling more heavily.
    	runtime.MemProfileRate = 16 * 1024
    
    	if err := testInterleavedAllocations(); err != nil {
    		panic(err.Error())
    	}
    	if err := testSmallAllocations(); err != nil {
    		panic(err.Error())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 27 21:36:06 UTC 2022
    - 9.7K bytes
    - Viewed (0)
  5. 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)
  6. test/peano.go

    	check(mul(zero(), gen(4)), 0)
    	check(mul(gen(3), add1(zero())), 3)
    	check(mul(add1(zero()), gen(4)), 4)
    	check(mul(gen(3), gen(4)), 12)
    
    	check(fact(zero()), 1)
    	check(fact(add1(zero())), 1)
    	check(fact(gen(5)), 120)
    }
    
    // -------------------------------------
    // Factorial
    
    var results = [...]int{
    	1, 1, 2, 6, 24, 120, 720, 5040, 40320, 362880, 3628800,
    	39916800, 479001600,
    }
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 30 19:39:18 UTC 2018
    - 2.2K 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. pkg/kubelet/cm/memorymanager/state/state_checkpoint_test.go

    			`{
    				"policyName":"static",
    				"machineState":{"0":{"numberOfAssignments":0,"memoryMap":{"memory":{"total":2048,"systemReserved":512,"allocatable":1536,"reserved":512,"free":1024}},"cells":[]}},
    				"entries":{"pod":{"container1":[{"numaAffinity":[0],"type":"memory","size":512}]}},
    				"checksum": 4215593881
    			}`,
    			"",
    			&stateMemory{
    				assignments: ContainerMemoryAssignments{
    					"pod": map[string][]Block{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jul 30 03:35:26 UTC 2022
    - 10.6K bytes
    - Viewed (0)
  10. 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)
Back to top