[Pkg-voip-commits] [belle-sip] 01/03: Increase JAVA heap space

Bernhard Schmidt berni at moszumanska.debian.org
Thu Nov 9 22:16:07 UTC 2017


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch master
in repository belle-sip.

commit 21227310b260f4fac0a1259a1402f814dcc838ef
Author: Bernhard Schmidt <berni at debian.org>
Date:   Thu Nov 9 23:01:54 2017 +0100

    Increase JAVA heap space
    
    Fixes FTBFS in antlr3 on some architectures
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index bd0f101..d8689a7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,6 +6,11 @@
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
+# On some arches (mips64el, s390x, alpha) antlr3 is extremely slow
+# and throws a heap space OutOfMemory exception. Workaround by increasing
+# heap space
+export _JAVA_OPTIONS = -Xms512m -Xmx1024m
+
 %:
 	dh $@ --buildsystem=cmake
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/belle-sip.git



More information about the Pkg-voip-commits mailing list