Skip to content

Commit

Permalink
Drop -XX:MaxPermSize=128m from the default JVM arguments which is not…
Browse files Browse the repository at this point in the history
… supported past JDK 8.
  • Loading branch information
rhusar committed Mar 21, 2024
1 parent 810435a commit 09b62a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion tomcat-managed-10/src/test/resources/arquillian.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<configuration>
<property name="catalinaHome">${test.catalina.home}</property>
<property name="catalinaBase">${test.catalina.base}</property>
<property name="javaVmArguments">-Xmx1024m -XX:MaxPermSize=512m</property>
<property name="javaVmArguments">-Xmx1024m</property>
<property name="jmxPort">${test.jmx.port}</property>
<property name="bindHttpPort">${test.http.port}</property>
<property name="serverConfig">server.xml</property>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public class TomcatManagedConfiguration extends TomcatConfiguration {

private String javaHome = System.getProperty(JAVA_HOME_ENV_PROPERTY);

private String javaVmArguments = "-Xmx512m -XX:MaxPermSize=128m";
private String javaVmArguments = "-Xmx512m";

private int startupTimeoutInSeconds = 120;

Expand Down Expand Up @@ -135,7 +135,7 @@ public String getJavaVmArguments() {
}

/**
* This will override the default ("-Xmx512m -XX:MaxPermSize=128m") startup JVM arguments.
* This will override the default ("-Xmx512m") startup JVM arguments.
*
* @param javaVmArguments
* use as start up arguments
Expand Down

0 comments on commit 09b62a9

Please sign in to comment.