[med-svn] [Git][med-team/beast2-mcmc][master] 2 commits: Lowering heap size for 32 bit machines

Pierre Gruet (@pgt) gitlab at salsa.debian.org
Mon Aug 23 16:21:52 BST 2021



Pierre Gruet pushed to branch master at Debian Med / beast2-mcmc


Commits:
eb441b08 by Pierre Gruet at 2021-08-23T16:40:19+02:00
Lowering heap size for 32 bit machines

- - - - -
79f8ccc0 by Pierre Gruet at 2021-08-23T17:21:16+02:00
Upload to unstable

- - - - -


4 changed files:

- debian/bin/beast2-mcmc
- debian/bin/beauti2
- debian/bin/treeannotator2
- debian/changelog


Changes:

=====================================
debian/bin/beast2-mcmc
=====================================
@@ -3,6 +3,13 @@
 # upstream has set 1024
 # I had use cases that required more than 2048
 MAXMEM=3072
+thisArch=$(arch)
+if [ "${thisArch%86}" != "$thisArch" ]
+then
+        # We found "86" at the end of $(arch), so we lower MAXMEM to
+        # 1.9 GB for a 32 bit machine.
+        MAXMEM=1946
+fi
 
 # Remark: There should be no need to specify CLASSPATH
 # explicitely because it is set in manifest - however, this


=====================================
debian/bin/beauti2
=====================================
@@ -3,6 +3,13 @@
 # upstream has set 1024
 # I had use cases that required more than 2048
 MAXMEM=3072
+thisArch=$(arch)
+if [ "${thisArch%86}" != "$thisArch" ]
+then
+        # We found "86" at the end of $(arch), so we lower MAXMEM to
+        # 1.9 GB for a 32 bit machine.
+        MAXMEM=1946
+fi
 
 # Remark: There should be no need to specify CLASSPATH
 # explicitely because it is set in manifest - however, this


=====================================
debian/bin/treeannotator2
=====================================
@@ -3,6 +3,13 @@
 # upstream has set 1024
 # I had use cases that required more than 2048
 MAXMEM=3072
+thisArch=$(arch)
+if [ "${thisArch%86}" != "$thisArch" ]
+then
+        # We found "86" at the end of $(arch), so we lower MAXMEM to
+        # 1.9 GB for a 32 bit machine.
+        MAXMEM=1946
+fi
 
 # Remark: There should be no need to specify CLASSPATH
 # explicitely because it is set in manifest - however, this


=====================================
debian/changelog
=====================================
@@ -1,3 +1,9 @@
+beast2-mcmc (2.6.6+dfsg-2) unstable; urgency=medium
+
+  * Lowering heap size on 32 bit architectures
+
+ -- Pierre Gruet <pgt at debian.org>  Mon, 23 Aug 2021 16:40:39 +0200
+
 beast2-mcmc (2.6.6+dfsg-1) unstable; urgency=medium
 
   * New upstream version 2.6.6+dfsg



View it on GitLab: https://salsa.debian.org/med-team/beast2-mcmc/-/compare/35ac7c9e286e5f0e2198a52b2bce15d6a476c620...79f8ccc0de62d52fbf572d759737a8ae3015b4aa

-- 
View it on GitLab: https://salsa.debian.org/med-team/beast2-mcmc/-/compare/35ac7c9e286e5f0e2198a52b2bce15d6a476c620...79f8ccc0de62d52fbf572d759737a8ae3015b4aa
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20210823/6118e3be/attachment-0001.htm>


More information about the debian-med-commit mailing list