Skip to content

Commit fdb7006

Browse files
authored
Merge pull request #23 from Altinity/14-ice-pin-default-_java_options-to--xxmaxrampercentage750
ice: Added MaxRAMPercentage to ice executable.
2 parents 8d42470 + 432534e commit fdb7006

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

ice-rest-catalog/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -275,6 +275,7 @@
275275
<artifactId>really-executable-jar-maven-plugin</artifactId>
276276
<version>2.1.1</version>
277277
<configuration>
278+
<flags>-XX:MaxRAMPercentage=75.0</flags>
278279
<!--<flags>-Xmx512m</flags>-->
279280
<inputFile>target/ice-rest-catalog-jar-with-dependencies.jar</inputFile>
280281
<programFile>ice-rest-catalog-jar</programFile>

ice/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -454,6 +454,7 @@
454454
<configuration>
455455
<!--use `_JAVA_OPTIONS=-Xmx512m ice ...` to set at runtime-->
456456
<!--<flags>-Xmx512m</flags>-->
457+
<flags>-XX:MaxRAMPercentage=75.0</flags>
457458
<inputFile>target/ice-${project.version}-shaded.jar</inputFile>
458459
<programFile>ice-jar</programFile>
459460
</configuration>

0 commit comments

Comments
 (0)