Your message dated Sat, 21 Aug 2021 14:36:10 +0000 with message-id <[email protected]> and subject line Bug#986041: fixed in imagej 1.53k-2 has caused the Debian Bug report #986041, regarding imagej script bug in a system with no swap to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 986041: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=986041 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: imagej Version: 1.52j-1 Severity: important Hello In a system with no swap: $ free total used free shared buff/cache available Mem: 508080 56612 69872 368 381596 437904 Swap: 0 0 0 The imagej script: # max memory allocation is 1800MB on 32bit java and 4000 on 64bit java 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}}'` mem=${free_mem}/3*2 if (( $mem > $default_mem || $mem < $min_mem )) ; then mem=$default_mem ; fi else java_path="${ij_path}/jre/bin/java" max_mem=`free | awk 'NR == 2 {fmem=int($2 / 1024); if (fmem < 1800) {print fmem} else {print 1800}}'` free_mem=`free | awk 'NR == 3 {fmem=int($4 / 1024); if (fmem < 1800) {print fmem} else {print 1800}}'` mem=${free_mem}/3*2 if (( $mem > $default_mem || $mem < $min_mem )) ; then mem=$default_mem ; fi fi fi This results in: java_path = /jre/bin/java max_mem = 496 free_mem = 0 mem = 0/3*2 Due to the "0" value: (( 0 > 4000 || 0 < 16 )) mem=4000 and as the system does not have so much RAM the final result is: Error occurred during initialization of VM Could not reserve enough space for 4096000KB object heap Thank you very much.
--- End Message ---
--- Begin Message ---Source: imagej Source-Version: 1.53k-2 Done: Étienne Mollier <[email protected]> We believe that the bug you reported is fixed in the latest version of imagej, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Étienne Mollier <[email protected]> (supplier of updated imagej package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sat, 21 Aug 2021 14:53:50 +0200 Source: imagej Architecture: source Version: 1.53k-2 Distribution: unstable Urgency: medium Maintainer: Debian Med Packaging Team <[email protected]> Changed-By: Étienne Mollier <[email protected]> Closes: 986041 Changes: imagej (1.53k-2) unstable; urgency=medium . * Team Upload. * d/extra/imagej: adjust "free" parsing (Closes: #986041) * d/control: imagej depends on procps; fixes spurious missing "free" command messages when "free" is not available. * Standards-Version: 4.6.0 (routine-update) Checksums-Sha1: f8fb0e4244e694901755e622de889feda4262bac 2159 imagej_1.53k-2.dsc 4a07806a9d3948919ad26d8144fc81fcb046914c 30024 imagej_1.53k-2.debian.tar.xz dd67105adc9646f98d0d767f05f829039210c299 9637 imagej_1.53k-2_amd64.buildinfo Checksums-Sha256: 7136e305ccbc345e66898b14560a2398ea674bc530fd5c041a2ff7c697d62e04 2159 imagej_1.53k-2.dsc 2dc5100c846320a3944b0651ecc14a5f1df790215a9fd42cf9251bc15d751131 30024 imagej_1.53k-2.debian.tar.xz b50c87744f5a90b3d5dffd8a7e7393cdb128bbafe3e0e8dbdbd0b1d4b8e5776f 9637 imagej_1.53k-2_amd64.buildinfo Files: 779b08516892bbee3010bbd6db7b3e5b 2159 science optional imagej_1.53k-2.dsc 31a441d2d5d40c8fd8e1b8ee0bc75824 30024 science optional imagej_1.53k-2.debian.tar.xz 6ea83e2128feeef17f46bd4744fa8ee0 9637 science optional imagej_1.53k-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmEhB6AUHGVtb2xsaWVy QGRlYmlhbi5vcmcACgkQeTz2fo8NEdptoA/+LHcYE39Wana4MIf7wSzOlPrkWb8U 6KlWcS56urlHSey0OPeXnaAhWVmwfTyL4JaMmuSEV6UZex+5L8QfM0x6dpl2yzXD XiZb8ZAKCet3Tzn58Ut2NxgU9+LOrC0CkBP0zAXDdvYBbKbJ1+JHnkFeCfA+k120 uZvHp+s2PRjqCc+MVVwobq8zYteHxRx/Lqq/kj7V3WcVQcjSq0UoujoxDLn/PrU4 fQEuHsHzhU73diGDLOa4oVxjXagE5VQz3mOpIXkvBdeSfptuLKk0mZsW8Bsnq8j2 0esKpq7PjCc5WSIut/wK91FrV8FpRLLlt9iuArQ7vpZ6tb2VFtJI37AFEp63CkIA eqwZ/AX5Sq9O4zNwbmo4Tf/HTdd9rUzPbTV+pZ8GfoUvZXpVqLugIzwK22wAF16R rYr+zqOrqAVypxmB+d7ExWIQ2qg7igw2ZZMfZaX2oBmXrCiur6j12wMapIvQSA8f ac3CNv98xuaATnJWIGqrRGA+tylXo2JTWMavKPjhlmXvvEDpomcwbJCVnJ2AVGVr W0CCEkz3ZfVR9JD7MipBWtc7nEpNYwJ7VpxxrXLCXMDFaUN9gwfblxjabOGFxbES sdBngLe5pVvQQKo2slUGckAO6YBx0szSW4lRkz4pYMfPmApjIJWL2LuMuxTwzIdz OQJ1l6HHOFJa0KE= =ROs3 -----END PGP SIGNATURE-----
--- End Message ---

