Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for memoryInitialSize (0.47 sec)

  1. platforms/jvm/language-jvm/src/main/java/org/gradle/api/tasks/compile/BaseForkOptions.java

        @Internal
        public String getMemoryInitialSize() {
            return memoryInitialSize;
        }
    
        /**
         * Sets the initial heap size for the compiler process.
         * Defaults to {@code null}, in which case the JVM's default will be used.
         */
        public void setMemoryInitialSize(String memoryInitialSize) {
            this.memoryInitialSize = memoryInitialSize;
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/tasks/compile/GroovyForkOptionsTest.groovy

    class GroovyForkOptionsTest {
        static final Map PROPS = [memoryInitialSize: 'memoryInitialSize', memoryMaximumSize: 'memoryMaximumSize']
    
        GroovyForkOptions forkOptions
    
        @Before
        void setUp()  {
            forkOptions = TestUtil.newInstance(GroovyForkOptions.class)
        }
    
        @Test
        void testCompileOptions() {
            assertNull(forkOptions.memoryInitialSize)
            assertNull(forkOptions.memoryMaximumSize)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. platforms/jvm/language-jvm/src/test/groovy/org/gradle/api/internal/tasks/compile/BaseForkOptionsConverterTest.groovy

        def "converts a base fork options to a java fork options"() {
            BaseForkOptions baseForkOptions = new BaseForkOptions()
            baseForkOptions.memoryInitialSize = "128m"
            baseForkOptions.memoryMaximumSize = "1g"
            baseForkOptions.jvmArgs = ["-foo", "-bar"]
    
            when:
            def javaForkOptions = converter.transform(baseForkOptions)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/test/groovy/org/gradle/api/tasks/compile/ForkOptionsTest.groovy

        static final List PROPS = ['executable', 'memoryInitialSize', 'memoryMaximumSize', 'tempDir']
    
        ForkOptions forkOptions = TestUtil.newInstance(ForkOptions)
    
        def 'initial values of forkOptions'() {
            expect:
            forkOptions.executable == null
            forkOptions.javaHome == null
            forkOptions.memoryInitialSize == null
            forkOptions.memoryMaximumSize == null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/KotlinDslFileContentGenerator.groovy

                options.isIncremental = true
                options.forkOptions.memoryInitialSize = compilerMemory
                options.forkOptions.memoryMaximumSize = compilerMemory
            }
            tasks.withType<GroovyCompile> {
                options.isFork = true
                options.isIncremental = true
                options.forkOptions.memoryInitialSize = compilerMemory
                options.forkOptions.memoryMaximumSize = compilerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/GroovyDslFileContentGenerator.groovy

                options.forkOptions.memoryInitialSize = compilerMemory
                options.forkOptions.memoryMaximumSize = compilerMemory
                options.forkOptions.jvmArgs.addAll(javaCompileJvmArgs)
            }
    
            tasks.withType(GroovyCompile).configureEach {
                groovyOptions.fork = true
                groovyOptions.forkOptions.memoryInitialSize = compilerMemory
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.compile.BaseForkOptions.xml

            <table>
                <thead>
                    <tr>
                        <td>Name</td>
                        <td>Default</td>
                    </tr>
                </thead>
                <tr>
                    <td>memoryInitialSize</td>
                    <td><literal>null</literal></td>
                </tr>
                <tr>
                    <td>memoryMaximumSize</td>
                    <td><literal>null</literal></td>
                </tr>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. testing/performance/src/templates/project-with-source/build.gradle

    String testRunnerMemory = getProperty('testRunnerMemory')
    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
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/java/compile/daemon/DaemonJavaCompilerIntegrationTest.groovy

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

                ${mavenCentralRepository()}
                tasks.withType(GroovyCompile) {
                    options.forkOptions.executable = "${differentJavacExecutablePath}"
                    options.forkOptions.memoryInitialSize = "128m"
                    options.forkOptions.memoryMaximumSize = "256m"
                    options.forkOptions.jvmArgs = ["-Dfoo=bar"]
    
                    doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 12 18:44:49 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top