- Package:
- openrefine
- Source:
- openrefine
- Submitter:
- Robert Jäschke
- Date:
- 2023-04-05 19:51:05 UTC
- Severity:
- normal
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
Hello, Bug #1033355 in openrefine reported by you has been fixed in the Git repository and is awaiting an upload. You can see the commit message below and you can check the diff of the fix at: https://salsa.debian.org/java-team/openrefine/-/commit/d77ba190492c86b590ecfc7a2442ba1338e78da8 ------------------------------------------------------------------------ Load the refine configuration before parsing the command line options. Closes: #1033355 Thanks: Robert Jäschke for the report! ------------------------------------------------------------------------ (this message was generated automatically) -- Greetings https://bugs.debian.org/1033355
We believe that the bug you reported is fixed in the latest version of
openrefine, 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 1033355@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Markus Koschany <apo@debian.org> (supplier of updated openrefine 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 ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 05 Apr 2023 20:20:17 +0200
Source: openrefine
Architecture: source
Version: 3.6.2-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Markus Koschany <apo@debian.org>
Closes: 1022760 1033355
Changes:
openrefine (3.6.2-2) unstable; urgency=medium
.
* Depend on libjoda-time-java and liboro-java.
Thanks to Robert Jäschke for the report! (Closes: #1022760)
* Load the refine configuration before parsing the command line options.
Thanks to Robert Jäschke for the report! (Closes: #1033355)
* Symlink commons-lang-2.6 into server directory to fix another
ClassNotFound exception.
Checksums-Sha1:
53477fc6fd917f94fcdce9fe7c6c3a275a0db5b7 3582 openrefine_3.6.2-2.dsc
5e4c0a4df50c725915aa695ab616d902eef9af40 309128 openrefine_3.6.2-2.debian.tar.xz
4a1d4ef7a2f53d76a082ceb1c695b545f4cfcc56 18165 openrefine_3.6.2-2_amd64.buildinfo
Checksums-Sha256:
51dcb3d3728a1bc89ce5f1092b84d7493a23208bda8ec535892a32cd7266fbda 3582 openrefine_3.6.2-2.dsc
aa52eb4ed3aa0fa7bd514aa1f97507d2333651b5b5b2074a28d29ed796e77036 309128 openrefine_3.6.2-2.debian.tar.xz
d7788c72655c101313363f3425cd0198f0e10d11c430c0a11c9935534a076d7e 18165 openrefine_3.6.2-2_amd64.buildinfo
Files:
79788bdd129463c28a949a5730e7b9d3 3582 java optional openrefine_3.6.2-2.dsc
7b87d2bd0ca364df45fbde5444691e1d 309128 java optional openrefine_3.6.2-2.debian.tar.xz
5a004c7dc2cca49e8db50186b79bd81e 18165 java optional openrefine_3.6.2-2_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAmQtzZVfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD
RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp
YW4ub3JnAAoJENmtFLlRO1HkLu0P/09oxNEKBBU2FqfPXlcJIG4LvwJ/1rz24XwE
0hBQWogGAV/pcVCTY2uV/f8m11ePTAZ5gk8D7FvtBy1mKqKYE+bdndgltea6owPn
LiaxlDgax8UVs+95nojipnCXl8OGIQXpikLY20c7Gy841riMFcDi7k1mLoPQg1HD
Eweje/UCFDlscHxjjzVUd3psbVbe9mS5y97Rx7/xU0phBRpfEQgfs/a9eWKc5SOE
oCzWKqnuLhgorhrAUXU3shao+HLgoMvWSZhd3P+O7LRTk6osDjG2JYj2kzTnDM0c
aJQYpRmEMohk4YGQBdOjTkaP5IBY/Ni6ytDMFaAAUNN9Bg0g8S1OLZq3Y7Y2GOF+
G+dGzDi30urKteJ8M3fMgGjEckGOtm3Rh8L4lJt6km0adghpqFX4+zafHs77GT6E
fWOCEZAORW6YgGUMlTapKuCmbAcW5vFYjoLAHTVr3fiPoNUzEYJmIcbJYN/7MWAm
GUEAie2qUjCLc826zzS3vspljFGKhMr930mgeOnyKElXNBqAmgFXKUZFjFBEPQp/
U5ODmaxNRzA1IH3LJFGfnUv3sq2yngWlrxuMG+Bzs5CzZ93FguSqLawLV8J9Ducu
kONIJGcb0sCvgcEwmuFsTj/86zRG67EnGJgWZ55Ei+L5ZQjh/vH7fpGxgGsYnADY
fXKUoiG1
=Ps/f
-----END PGP SIGNATURE-----