[med-svn] [Git][med-team/imagej][master] 2 commits: Tested with bigger memory by Thomas Fischer <thmfischer at gmail.com>

Andreas Tille gitlab at salsa.debian.org
Mon Jan 4 15:50:56 GMT 2021



Andreas Tille pushed to branch master at Debian Med / imagej


Commits:
d7f2006d by Andreas Tille at 2020-12-27T08:36:37+01:00
Tested with bigger memory by Thomas Fischer <thmfischer at gmail.com>

- - - - -
caf61d26 by Andreas Tille at 2020-12-27T08:40:00+01:00
routine-update: Ready to upload to unstable

- - - - -


2 changed files:

- debian/changelog
- debian/extra/imagej


Changes:

=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+imagej (1.53g-2) unstable; urgency=medium
+
+  * Team upload.
+  * Tested with bigger memory by Thomas Fischer <thmfischer at gmail.com>
+
+ -- Andreas Tille <tille at debian.org>  Sun, 27 Dec 2020 08:36:59 +0100
+
 imagej (1.53g-1) unstable; urgency=medium
 
   * Team upload.


=====================================
debian/extra/imagej
=====================================
@@ -65,7 +65,7 @@ separator=':'
 # to recover macro arguments
 
 declare -i mem
-declare -i default_mem=4000
+declare -i default_mem=8000
 declare -i min_mem=16
 declare -i max_mem
 declare -i free_mem
@@ -101,8 +101,8 @@ if [[ `uname` == 'SunOS' ]] ; then
 elif [[ `uname` == 'Linux' ]] ; then
     if [[ `uname -m` == 'x86_64' ]] ; then
         java_path="${ij_path}/jre64/bin/java"
-        max_mem=`free | awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 4000) {print fmem} else {print 4000}}'`
-        free_mem=`free | awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 4000) {print fmem} else {print 4000}}'`
+        max_mem=`free | awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 8000) {print fmem} else {print 8000}}'`
+        free_mem=`free | awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 8000) {print fmem} else {print 8000}}'`
         mem=${free_mem}/3*2
         if (( $mem > $default_mem || $mem < $min_mem )) ; then mem=$default_mem ; fi
     else



View it on GitLab: https://salsa.debian.org/med-team/imagej/-/compare/04da3af0bd1bae24dcd5be968516c30d501d40be...caf61d2685f318a175f72e79c2598038beb859f1

-- 
View it on GitLab: https://salsa.debian.org/med-team/imagej/-/compare/04da3af0bd1bae24dcd5be968516c30d501d40be...caf61d2685f318a175f72e79c2598038beb859f1
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/20210104/6a915d95/attachment-0001.html>


More information about the debian-med-commit mailing list