From 0b7d7c78beb665173817b8c7164cbd5d9e81383b Mon Sep 17 00:00:00 2001 From: Dingli Zhang Date: Tue, 7 May 2024 10:56:59 +0800 Subject: [PATCH] Add parameter to avoid oom exceptions for riscv64 --- accumulo.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/accumulo.spec b/accumulo.spec index 5f21f5a..d791ee0 100644 --- a/accumulo.spec +++ b/accumulo.spec @@ -6,7 +6,7 @@ Name: accumulo Version: 2.0.1 -Release: 2 +Release: 3 Summary: A software platform for processing vast amounts of data License: Apache-2.0 and BSD Group: Development/Libraries @@ -65,6 +65,9 @@ find -name "*.cmd" -delete # especially in the start jar. These should be enabled when possible. # ITs are skipped, because they time out frequently and take too many resources # to run reliably. Failures do not reliably indicate meaningful issues. +%ifarch riscv64 +export JAVA_TOOL_OPTIONS="-Xmx4096m" +%endif mvn package -DforkCount=1C -DskipTests -DskipITs -Dtaro %install @@ -236,6 +239,9 @@ if [ -z ${hadoop_info} ];then fi %changelog +* Tue May 07 2024 Dingli Zhang - 2.0.1-3 +- Add parameter to avoid oom exceptions for riscv64 + * Fri Oct 08 2021 lingsheng - 2.0.1-2 - Remove useless accumulo-jar and fix accumulo-classpath output