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`
Control: tag -1 patch
Greetings Alexis,
Alexis PM, on 2021-03-28 13:50:02 +:
> 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}}'`
2 matches
Mail list logo