Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 21 for memoryMaximumSize (0.26 sec)

  1. testing/performance/src/templates/project-with-source/build.gradle

    int testForkEvery = getProperty('testForkEvery') as Integer
    
    tasks.withType(JavaCompile) {
        options.fork = true
        options.forkOptions.memoryInitialSize=compilerMemory
        options.forkOptions.memoryMaximumSize=compilerMemory
    }
    tasks.withType(Test) {
        minHeapSize = testRunnerMemory
        maxHeapSize = testRunnerMemory
        maxParallelForks = 4
        forkEvery = testForkEvery
    }
    
    <% if (groovyProject) { %>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.compile.BaseForkOptions.xml

                    </tr>
                </thead>
                <tr>
                    <td>memoryInitialSize</td>
                    <td><literal>null</literal></td>
                </tr>
                <tr>
                    <td>memoryMaximumSize</td>
                    <td><literal>null</literal></td>
                </tr>
                <tr>
                    <td>jvmArgs</td>
                    <td><literal>[]</literal></td>
                </tr>
            </table>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-groovy/src/integTest/groovy/org/gradle/groovy/compile/DaemonGroovyCompilerIntegrationTest.groovy

                tasks.withType(GroovyCompile) {
                    options.forkOptions.executable = "${differentJavacExecutablePath}"
                    options.forkOptions.memoryInitialSize = "128m"
                    options.forkOptions.memoryMaximumSize = "256m"
                    options.forkOptions.jvmArgs = ["-Dfoo=bar"]
    
                    doLast {
                        assert services.get(WorkerDaemonClientsManager).idleClients.find {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

                import org.gradle.internal.jvm.Jvm
    
                tasks.withType(JavaCompile) {
                    options.forkOptions.memoryInitialSize = "128m"
                    options.forkOptions.memoryMaximumSize = "256m"
                    options.forkOptions.jvmArgs = ["-Dfoo=bar"]
    
                    doLast {
                        assert services.get(WorkerDaemonClientsManager).idleClients.find {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:39 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  5. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/CommandLineJavaCompilerArgumentsGeneratorTest.groovy

            def classpath = createFiles(numFiles)
            def spec = new DefaultJavaCompileSpec()
            spec.compileOptions = TestUtil.newInstance(CompileOptions, TestUtil.objectFactory())
            spec.compileOptions.forkOptions.memoryMaximumSize = "256m"
            spec.sourceFiles = sources
            spec.compileClasspath = classpath
            spec.tempDir = tempDir.testDirectory
            spec
        }
    
        def createFiles(numFiles) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  6. platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/JavaCompilerArgumentsBuilderTest.groovy

        }
    
        def "can include/exclude launcher options"() {
            spec.compileOptions.forkOptions.with {
                memoryInitialSize = "64m"
                memoryMaximumSize = "1g"
            }
    
            when:
            builder.includeLauncherOptions(true)
    
            then:
            builder.build() == ["-J-Xms64m", "-J-Xmx1g"] + defaultOptions
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 31 20:20:36 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  7. platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/compile/ZincScalaCompilerIntegrationTest.groovy

                tasks.withType(ScalaCompile) {
                    options.forkOptions.executable = "${differentJavaExecutablePath}"
                    options.forkOptions.memoryInitialSize = "128m"
                    options.forkOptions.memoryMaximumSize = "256m"
                    options.forkOptions.jvmArgs = ["-Dfoo=bar"]
    
                    doLast {
                        assert services.get(WorkerDaemonClientsManager).idleClients.find {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 15:43:33 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  8. subprojects/core/build.gradle.kts

    }
    
    packageCycles {
        excludePatterns.add("org/gradle/**")
    }
    
    tasks.test {
        setForkEvery(200)
    }
    
    tasks.compileTestGroovy {
        groovyOptions.fork("memoryInitialSize" to "128M", "memoryMaximumSize" to "1G")
    }
    
    tasks.isolatedProjectsIntegTest {
        enabled = true
    }
    
    integTest.usesJavadocCodeSnippets = true
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:14 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild.unittest-and-compile.gradle.kts

        options.release = 8
        options.encoding = "utf-8"
        options.isIncremental = true
        options.isFork = true
        options.forkOptions.jvmArgs?.add("-XX:+HeapDumpOnOutOfMemoryError")
        options.forkOptions.memoryMaximumSize = "1g"
        options.compilerArgs.addAll(mutableListOf("-Xlint:-options", "-Xlint:-path"))
    }
    
    fun addDependencies() {
        dependencies {
            testCompileOnly(libs.junit)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 07:43:28 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/AbstractJavaCompilerIntegrationSpec.groovy

            given:
            goodCode()
    
            and:
            buildFile << """
                compileJava.options.forkOptions.with {
                    memoryInitialSize = '64m'
                    memoryMaximumSize = '128m'
                }
            """
    
            when:
            succeeds("compileJava")
    
            then:
            output.contains(logStatement())
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 01 01:34:12 UTC 2024
    - 27.4K bytes
    - Viewed (0)
Back to top