Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 20 for maxMemory (0.84 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/exec/LogAndCheckHealth.java

            int nextBuildNum = runningStats.getBuildCount() + 1;
            if (nextBuildNum == 1) {
                return String.format("Starting build in new daemon [memory: %s]", NumberUtil.formatBytes(Runtime.getRuntime().maxMemory()));
            } else {
                return String.format("Starting %s build in daemon %s", NumberUtil.ordinal(nextBuildNum), stats.getHealthInfo());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. testing/architecture-test/src/changes/archunit-store/public-api-symmetrical-accessors-nullability.txt

    Accessors for org.gradle.api.tasks.javadoc.Javadoc.destinationDir don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.javadoc.Javadoc.maxMemory don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.Test.forkEvery don't use symmetrical @Nullable
    Accessors for org.gradle.api.tasks.testing.testng.TestNGOptions.parallel don't use symmetrical @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/process/internal/CurrentProcess.java

            return effectiveJvmOptions;
        }
    
        public JavaInfo getJvm() {
            return jvm;
        }
    
        public boolean isLowMemoryProcess() {
            return Runtime.getRuntime().maxMemory() <= 64L * 1024 * 1024; // 64MB is our default for a launcher process
        }
    
        static JvmOptions inferJvmOptions(FileCollectionFactory fileCollectionFactory, List<String> arguments) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/util/MemoryUtil.java

        }
    
        public static String getMemoryUsageLog() {
            final Runtime runtime = Runtime.getRuntime();
            final long freeBytes = runtime.freeMemory();
            final long maxBytes = runtime.maxMemory();
            final long totalBytes = runtime.totalMemory();
            final long usedBytes = totalBytes - freeBytes;
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.6K bytes
    - Viewed (0)
  5. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/health/LowMemoryDaemonExpirationStrategyTest.groovy

        private static final long MAX_MEMORY = 16 * ONE_GIG
        private final OsMemoryStatus mockMemoryStatus = Mock(OsMemoryStatus)
    
        def "minimum threshold is enforced"() {
            given:
            def expirationStrategy = new LowMemoryDaemonExpirationStrategy(0)
    
            when:
            1 * mockMemoryStatus.physicalMemory >> { new DefaultAvailableOsMemoryStatusAspect("physical", MAX_MEMORY, ONE_GIG) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/windows/platform-windows.c

    #include "platform.h"
    
    const char* platform_name = "Windows";
    
    int max_path_length() { return 260; }
    
    // 640K ought to be enough for anybody.
    unsigned long long max_memory() { return KB(640); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 229 bytes
    - Viewed (0)
  7. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/headers/platform.h

    #ifndef PLATFORM_H
    #define PLATFORM_H
    
    extern const char* platform_name;
    
    int max_path_length();
    
    unsigned long long max_memory();
    
    int is_posix_like();
    
    #define KB(x) x
    #define MB(x) KB(x)*1024
    #define GB(x) MB(x)*1024
    #define TB(x) GB(x)*1024
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 267 bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/linux/platform-linux.c

    #include "platform.h"
    
    const char* platform_name = "Linux";
    
    int max_path_length() { return -1; }
    
    unsigned long long max_memory() { return TB(128); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 186 bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/mac/platform-mac.c

    #include "platform.h"
    
    const char* platform_name = "MacOSX";
    
    int max_path_length() { return 1024; }
    
    unsigned long long max_memory() { return GB(96); }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 188 bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c

      printf("Is Posix like?        %s\n", is_posix_like()?"true":"false");
      printf("Max Path Length:      %d bytes\n", max_path_length());
      printf("Max memory supported: %llu Kbytes\n", max_memory());
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 348 bytes
    - Viewed (0)
Back to top