You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/about/04_coherence_spec.adoc
+32-5Lines changed: 32 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -321,26 +321,53 @@ Options for managing the JVM memory.
321
321
[cols="1,10,1,1"options="header"]
322
322
|===
323
323
| Field | Description | Type | Required
324
-
m| heapSize | HeapSize is the min/max heap value to pass to the JVM. The format should be the same as that used for Java's -Xms and -Xmx JVM options. If not set the JVM defaults are used. m| *string | false
324
+
m| heapSize | HeapSize sets both the initial and max heap size values for the JVM. This will set both the -XX:InitialHeapSize and -XX:MaxHeapSize JVM options to the same value (the equivalent of setting -Xms and -Xmx to the same value). +
325
+
+
326
+
The format should be the same as that used when specifying these JVM options. +
327
+
+
328
+
If not set the JVM defaults are used. m| *string | false
329
+
m| initialHeapSize | InitialHeapSize sets the initial heap size value for the JVM. This will set the -XX:InitialHeapSize JVM option (the equivalent of setting -Xms). +
330
+
+
331
+
The format should be the same as that used when specifying this JVM options. +
332
+
+
333
+
NOTE: If the HeapSize field is set it will override this field. m| *string | false
334
+
m| maxHeapSize | MaxHeapSize sets the maximum heap size value for the JVM. This will set the -XX:MaxHeapSize JVM option (the equivalent of setting -Xmx). +
335
+
+
336
+
The format should be the same as that used when specifying this JVM options. +
337
+
+
338
+
NOTE: If the HeapSize field is set it will override this field. m| *string | false
325
339
m| maxRAM | Sets the JVM option `-XX:MaxRAM=N` which sets the maximum amount of memory used by the JVM to `n`, where `n` is expressed in terms of megabytes (for example, `100m`) or gigabytes (for example `2g`). m| *string | false
340
+
m| percentage | Percentage sets the initial and maximum and minimum heap percentage sizes to the same value, This will set the -XX:InitialRAMPercentage -XX:MinRAMPercentage and -XX:MaxRAMPercentage JVM options to the same value. +
341
+
+
342
+
The JVM will ignore this option if any of the HeapSize, InitialHeapSize or MaxHeapSize options have been set. +
343
+
+
344
+
Valid values are decimal numbers between 0 and 100. +
345
+
+
346
+
NOTE: This field is a k8s resource.Quantity value as CRDs do not support decimal numbers. See https://godoc.org/k8s.io/apimachinery/pkg/api/resource#Quantity for the different formats of number that may be entered. +
347
+
+
348
+
NOTE: This field maps to the -XX:InitialRAMPercentage -XX:MinRAMPercentage and -XX:MaxRAMPercentage JVM options and will be incompatible with some JVMs that do not have this option (e.g. Java 8). m| *resource.Quantity | false
326
349
m| initialRAMPercentage | Set initial heap size as a percentage of total memory. +
327
350
+
328
-
This option will be ignored if HeapSize is set. +
351
+
The JVM will ignore this option if any of the HeapSize, InitialHeapSize or MaxHeapSize options have been set. +
329
352
+
330
353
Valid values are decimal numbers between 0 and 100. +
331
354
+
355
+
NOTE: If the Percentage field is set it will override this field. +
356
+
+
332
357
NOTE: This field is a k8s resource.Quantity value as CRDs do not support decimal numbers. See https://godoc.org/k8s.io/apimachinery/pkg/api/resource#Quantity for the different formats of number that may be entered. +
333
358
+
334
-
NOTE: This field maps the the -XX:InitialRAMPercentage JVM option and will be incompatible with some JVMs that do not have this option (e.g. Java 8). m| *resource.Quantity | false
359
+
NOTE: This field maps to the -XX:InitialRAMPercentage JVM option and will be incompatible with some JVMs that do not have this option (e.g. Java 8). m| *resource.Quantity | false
335
360
m| maxRAMPercentage | Set maximum heap size as a percentage of total memory. +
336
361
+
337
-
This option will be ignored if HeapSize is set. +
362
+
The JVM will ignore this option if any of the HeapSize, InitialHeapSize or MaxHeapSize options have been set. +
338
363
+
339
364
Valid values are decimal numbers between 0 and 100. +
340
365
+
366
+
NOTE: If the Percentage field is set it will override this field. +
367
+
+
341
368
NOTE: This field is a k8s resource.Quantity value as CRDs do not support decimal numbers. See https://godoc.org/k8s.io/apimachinery/pkg/api/resource#Quantity for the different formats of number that may be entered. +
342
369
+
343
-
NOTE: This field maps the the -XX:MaxRAMPercentage JVM option and will be incompatible with some JVMs that do not have this option (e.g. Java 8). m| *resource.Quantity | false
370
+
NOTE: This field maps to the -XX:MaxRAMPercentage JVM option and will be incompatible with some JVMs that do not have this option (e.g. Java 8). m| *resource.Quantity | false
344
371
m| minRAMPercentage | Set the minimal JVM Heap size as a percentage of the total memory. +
0 commit comments