Skip to content

Commit

Permalink
fix: replace Unrecognized VM option MaxPermSize with MaxMetaspaceSize (
Browse files Browse the repository at this point in the history
…#3759)

replace Unrecognized VM option MaxPermSize with MaxMetaspaceSize and upgrade openmldb-batchjob maven.compiler.source and maven.compiler.target to 1.8

Co-authored-by: yangwucheng <[email protected]>
  • Loading branch information
yangwucheng and yangwucheng authored Feb 21, 2024
1 parent d760b50 commit b74629a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions java/openmldb-batchjob/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.source>1.8</maven.compiler.source>
<maven.compiler.target>1.8</maven.compiler.target>

<spark.scope>provided</spark.scope>
</properties>
Expand Down
2 changes: 1 addition & 1 deletion java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
<junitxml>.</junitxml>
<filereports>WDF TestSuite.txt</filereports>
<argLine>-Xmx8192m -XX:MaxPermSize=2048m -Duser.timezone=GMT+8</argLine>
<argLine>-Xmx8192m -XX:MaxMetaspaceSize=2048m -Duser.timezone=GMT+8</argLine>
<skipTests>${scalatest.skip}</skipTests>
<systemProperties>
<property>
Expand Down

0 comments on commit b74629a

Please sign in to comment.