- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for maxMemory (0.34 sec)
-
src/mime/multipart/formdata.go
// unconfigurable 10 MB added on to maxMemory, is unfortunate but difficult to change // within the constraints of the API as documented. maxFileMemoryBytes := maxMemory if maxFileMemoryBytes == math.MaxInt64 { maxFileMemoryBytes-- } maxMemoryBytes := maxMemory + int64(10<<20) if maxMemoryBytes <= 0 { if maxMemory < 0 { maxMemoryBytes = 0 } else {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 7.7K bytes - Viewed (0) -
platforms/jvm/scala/src/test/groovy/org/gradle/api/tasks/scala/ScalaDocSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 2.2K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.javadoc.Javadoc.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2K bytes - Viewed (0) -
platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java
@Override public JvmMemoryStatus read(Decoder decoder) throws EOFException, Exception { long committedMemory = decoder.readLong(); long maxMemory = decoder.readLong(); return new JvmMemoryStatusSnapshot(maxMemory, committedMemory); } @Override public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 23 05:58:56 UTC 2024 - 2K bytes - Viewed (0) -
platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/HeapProportionalCacheSizer.java
public class HeapProportionalCacheSizer { public static final String CACHE_RESERVED_SYSTEM_PROPERTY = "org.gradle.cache.reserved.mb"; private static final int DEFAULT_SIZES_MAX_HEAP_MB = 910; // when -Xmx1024m, Runtime.maxMemory() returns about 910 private static final int ASSUMED_USED_HEAP = 150; // assume that Gradle itself uses about 150MB heap private static final double MIN_RATIO = 0.2d; private final int maxHeapMB;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:08:47 UTC 2023 - 2.5K bytes - Viewed (0) -
src/mime/multipart/readmimeheader.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 457 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/groovy/org/gradle/scala/scaladoc/ScalaDocIntegrationTest.groovy
succeeds "clean" withBuildCache().run scaladoc then: skipped scaladoc } def "scaladoc uses maxMemory"() { classes.baseline() buildScript(classes.buildScript()) buildFile << """ scaladoc.maxMemory = '234M' """ when: succeeds scaladoc, "-i" then: // Looks like
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 06 02:21:33 UTC 2024 - 6.7K bytes - Viewed (0) -
platforms/jvm/scala/src/main/java/org/gradle/api/tasks/scala/ScalaDoc.java
private ScalaDocOptions scalaDocOptions; private String title; private final Property<String> maxMemory; private final Property<JavaLauncher> javaLauncher; private final ConfigurableFileCollection compilationOutputs; public ScalaDoc() { ObjectFactory objectFactory = getObjectFactory(); this.maxMemory = objectFactory.property(String.class);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 9.1K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/main/java/org/gradle/process/internal/health/memory/DefaultJvmMemoryInfo.java
public class DefaultJvmMemoryInfo implements JvmMemoryInfo { private final long totalMemory; //this does not change public DefaultJvmMemoryInfo() { this.totalMemory = Runtime.getRuntime().maxMemory(); } /** * Max memory that this process can commit in bytes. Always returns the same value because maximum memory is determined at jvm start. */ long getMaxMemory() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:10:02 UTC 2023 - 1.6K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/dsl/org.gradle.api.tasks.scala.ScalaDoc.xml
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 2.1K bytes - Viewed (0)