From f7508aa898317c5fba347ccab3f16d150ef978f9 Mon Sep 17 00:00:00 2001 From: Wikum Weerakutti Date: Fri, 27 Oct 2023 17:19:22 +0530 Subject: [PATCH] Removing maxPermSize from mavenOpts (#242) --- maven-plugin/src/main/java/org/openmrs/maven/plugins/Run.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Run.java b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Run.java index 229f850e..cb7b5200 100644 --- a/maven-plugin/src/main/java/org/openmrs/maven/plugins/Run.java +++ b/maven-plugin/src/main/java/org/openmrs/maven/plugins/Run.java @@ -168,7 +168,6 @@ private void runInFork(Server server) throws MojoExecutionException, MojoFailure } mavenOpts = adjustXmxToAtLeast(mavenOpts, 768); - mavenOpts = adjustMaxPermSizeToAtLeast(mavenOpts, 512); if (server.hasWatchedProjects() && isWatchApi()) { mavenOpts += @@ -176,7 +175,7 @@ private void runInFork(Server server) throws MojoExecutionException, MojoFailure } mavenOpts = setDebugPort(mavenOpts, server); - + Properties properties = new Properties(); properties.put("serverId", server.getServerId()); if (port != null) {