[Debian-med-packaging] Bug#859398: imagej: default memory "allowance" too little

Jonas D bugpublic at googlemail.com
Mon Apr 3 08:14:30 UTC 2017


Package: imagej
Version: 1.51i+dfsg-1
Severity: normal
Tags: lfs patch

Dear Maintainer,


ImageJ limits the amount of total RAM it (the JVM) will allocate
when loading images etc. On Linux systems, this amount is
defined on startup (within the /usr/bin/imagej shellscript) and
(other than on Windows) cannot be changed during runtime.

The amount is currently fixed to 500MB, which (artificially)
prohibits loading of larger 3D volume datasets as typical
in tomographic imaging applications.

I propose to change the default setting to 4000MB, which is
the maximum possible value as stated in the imagej shellscript.

A corresponding patch is attached.


Kind regards,
Jonas







-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages imagej depends on:
ii  default-jre  2:1.8-58

imagej recommends no packages.

imagej suggests no packages.

-- no debconf information
-------------- next part --------------
68c68
< declare -i default_mem=500
---
> declare -i default_mem=4000


More information about the Debian-med-packaging mailing list