Skip to content

Commit

Permalink
Removing maxPermSize from mavenOpts (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
wikumChamith authored Oct 27, 2023
1 parent 49f73c3 commit f7508aa
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,15 +168,14 @@ private void runInFork(Server server) throws MojoExecutionException, MojoFailure
}

mavenOpts = adjustXmxToAtLeast(mavenOpts, 768);
mavenOpts = adjustMaxPermSizeToAtLeast(mavenOpts, 512);

if (server.hasWatchedProjects() && isWatchApi()) {
mavenOpts +=
" -javaagent:\"" + Server.getServersPath().resolve("springloaded.jar").toAbsolutePath() + "\" -noverify";
}

mavenOpts = setDebugPort(mavenOpts, server);

Properties properties = new Properties();
properties.put("serverId", server.getServerId());
if (port != null) {
Expand Down

0 comments on commit f7508aa

Please sign in to comment.