Correct jvm max heap spec. 65/2865/2
authorSerban Jora <sj2381@att.com>
Mon, 17 Sep 2018 15:37:19 +0000 (11:37 -0400)
committerChris Lott <clott@research.att.com>
Mon, 17 Sep 2018 17:20:33 +0000 (17:20 +0000)
Change-Id: Ic03079b7219cbf49579cc8c3e0fad20147294f40
Issue-ID: Acumos-1690
Signed-off-by: Serban Jora <sj2381@att.com>
gateway/pom.xml

index a99bc7a..8934508 100644 (file)
@@ -309,7 +309,7 @@ limitations under the License.
                                                                <!-- This is the same CMD used in a Dockerfile -->
                                                                <cmd>
                                                                        <!-- CDATA prevents Eclipse formatter from breaking line -->
-                                                                       <shell><![CDATA[cd /maven; java -Xms256m -Xmx4gb -Djava.security.egd=file:/dev/./urandom -jar ${project.artifactId}-${project.version}.${project.packaging}]]></shell>
+                                                                       <shell><![CDATA[cd /maven; java -Xms256m -Xmx2g -Djava.security.egd=file:/dev/./urandom -jar ${project.artifactId}-${project.version}.${project.packaging}]]></shell>
                                                                </cmd>
                                                        </build>
                                                </image>
@@ -348,7 +348,7 @@ limitations under the License.
                                                                </assembly>
                                                                <cmd>
                                                                        <!-- CDATA prevents Eclipse formatter from breaking line -->
-                                                                       <shell><![CDATA[cd /maven; java -Xms256m -Xmx4gb -cp ${project.artifactId}-${project.version}.${project.packaging}.original:${project.artifactId}-${project.version}-tests.${project.packaging}:/libs/* -Djava.security.egd=file:/dev/./urandom org.springframework.boot.loader.PropertiesLauncher]]></shell>
+                                                                       <shell><![CDATA[cd /maven; java -Xms256m -Xmx2g -cp ${project.artifactId}-${project.version}.${project.packaging}.original:${project.artifactId}-${project.version}-tests.${project.packaging}:/libs/* -Djava.security.egd=file:/dev/./urandom org.springframework.boot.loader.PropertiesLauncher]]></shell>
                                                                </cmd>
                                                        </build>
                                                </image>