Package: openrefine Version: 3.6.2-1 Severity: normal X-Debbugs-Cc: jaesc...@l3s.de
Dear Maintainer, The script to start Openrefine ignores the option -m to set the max memory heap size to use. After starting "openrefine -m 8000M" I get the following command line: /usr/bin/java -cp server/classes:server/* -Xms1400M -Xmx1400M -Drefine.memory=1400M -Drefine.max_form_content_size=1048576 -Drefine.verbosity=info -Dpython.path=main/webapp/WEB-INF/lib/jython -Dpython.cachedir=/home/<myuser>/.local/share/google/refine/cachedir -Drefine.webapp=main/webapp -Drefine.port=3333 -Drefine.interface=127.0.0.1 -Drefine.host=127.0.0.1 com.google.refine.Refine Thus, the command line option is ignored and instead all three relevant options (-Xms, -Xmx, -Drefine.memory) are set to 1400M as defined in /etc/openrefine/refine.ini: # Maximum JVM heap (memory) and max form size allocations #REFINE_MAX_FORM_CONTENT_SIZE=1048576 REFINE_MEMORY=1400M # Initial (and minimum) size of Java heap REFINE_MIN_MEMORY=1400M I think the problem is that /usr/share/openrefine/refine first parses the command line args and then loads refine.ini which overwrites the just set variables. Changing the order should solve the problem. Best regards, Robert -- System Information: Debian Release: bookworm/sid APT prefers testing APT policy: (500, 'testing'), (50, 'unstable') Architecture: amd64 (x86_64) Kernel: Linux 6.1.0-6-amd64 (SMP w/12 CPU threads; PREEMPT) Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set Shell: /bin/sh linked to /usr/bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages openrefine depends on: ii curl 7.88.1-1 ii default-jre [java9-runtime] 2:1.17-74 ii jython 2.7.3+repack1-1 ii libapache-jena-java 4.5.0-2 ii libapache-poi-java 4.0.1-4 ii libclojure-java 1.11.1-2 ii libcommons-codec-java 1.15-1 ii libcommons-collections3-java 3.2.2-2 ii libcommons-collections4-java 4.2-1 ii libcommons-compress-java 1.22-1 ii libcommons-fileupload-java 1.4-2 ii libcommons-io-java 2.11.0-2 ii libcommons-lang-java 2.6-10 ii libcommons-lang3-java 3.12.0-2 ii libcommons-text-java 1.10.0-1 ii libcommons-validator-java 1:1.7-1 ii libgoogle-api-services-drive-java 1.32.1-2 ii libgoogle-api-services-sheets-java 1.32.1-3 ii libgoogle-http-client-java 1.42.0-2 ii libguava-java 31.1-1 ii libhttpclient5-java 5.2.1-1 ii libhttpcore-java 4.4.16-1 ii libjackson2-annotations-java 2.14.0-1 ii libjackson2-core-java 2.14.1-1 ii libjackson2-databind-java 2.14.0-1 ii libjasypt-java 1.9.3-1 ii libjaxb-api-java 2.3.1-1 ii libjetty9-java 9.4.50-3 ii libjsoup-java 1.15.3-1 ii libjsr305-java 0.1~+svn49-11 ii libjuniversalchardet-java 2.4.0-3 ii liblanguage-detector-java 0.6-2 ii liblog4j2-java 2.19.0-2 ii libmarc4j-java 2.9.2-1 ii libmariadb-java 2.7.6-1 ii libodfdom-java 0.9.0~RC2-2 ii libokhttp-java 3.13.1-3 ii libopenrefine-butterfly-java 1.2.4-1 ii libopenrefine-opencsv-java 2.4-2 ii libopenrefine-vicino-java 1.2-3 ii libowasp-encoder-java 1.2.3-2 ii libpostgresql-jdbc-java 42.5.4-1 ii libservlet-api-java 4.0.1-2 ii libslf4j-java 1.7.32-1 ii libsweble-common-java 3.0.8-3 ii libsweble-wikitext-java 3.1.9-2 ii libwikidata-toolkit-java 0.13.3-1 ii libxerial-sqlite-jdbc-java 3.40.1.0+dfsg-1 ii openjdk-11-jre [java9-runtime] 11.0.18+10-1~deb11u1 ii openjdk-17-jre [java9-runtime] 17.0.6+10-1 ii procps 2:4.0.2-3 ii velocity 1.7-6 openrefine recommends no packages. openrefine suggests no packages. -- no debconf information __ This is the maintainer address of Debian's Java team <https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-java-maintainers>. Please use debian-j...@lists.debian.org for discussions and questions.