hg.loongnix.org 的 java 针对性优化还是不够?

javadoc 遇到了内存不足,我看了眼 spec ,没有针对其他架构修改内存参数设置。
也就是说,其他架构应该内存是够用的。
修改 pom.xml 为 2048m 编译通过。
[ERROR] javadoc: error - java.lang.OutOfMemoryError: Please increase memory.
[ERROR] For example, on the JDK Classic or HotSpot VMs, add the option -J-Xmx
[ERROR] such as -J-Xmx32m.
[ERROR]
[ERROR] Command line was: /usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181.b13-7.fc29.1.mips64el/jre/../bin/javadoc -J-Xmx1024m -J-Xms128m @options @packages
[ERROR]
[ERROR] Refer to the generated Javadoc files in '/builddir/build/BUILD/aws-sdk-java-9883b981ab5103cc6944fbf8f3b973994777350f/target/site/apidocs' dir.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
error: Bad exit status from /var/tmp/rpm-tmp.GA2Olk (%build)
已邀请:

要回复问题请先登录注册