Hi Alan, Am 19.04.21 um 09:59 schrieb Alan Orth:
Dear dspace-tech,
can you please share your JAVA_OPTS from ~/bin/dspace ?
As I wait eleven seconds (!) for my `dspace index-discovery -h` command to complete, I saw this blog post¹ about newer Java versions last week and found it compelling:
I made some tests on production and testing systems and it made a difference on the JAVA_OPTS.
So these figures are from the standard JAVA_OPTS (JAVA_OPTS="-Xmx256m -Dfile.encoding=UTF-8"), approx. mean of 4 measures from the "real" time:
# time ~/bin/dspace index-discovery -h ~ 2,3s - 3,5s production Java 8 ~ 3,65s testing Java 8 ~ 4,15s testing Java 11(testing is same system using Debian 10 and update-alternatives with Java 8 and Java 11).
[…]
Not to mention the improvements in garbage collection and of course new language features. So I ask: what is the highest version of Java that DSpace 6 and 7 officially supported? I recall seeing people running with Java 9 at least...
DSpace 5 (and 6 presumable, too) run on both Java 8 and Java 11 (with warnings, not tested in production), but at least DSpace 5 only compiles with Java 8.
Michael -- All messages to this mailing list should adhere to the Code of Conduct: https://duraspace.org/about/policies/code-of-conduct/--- You received this message because you are subscribed to the Google Groups "DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/dspace-tech/bb833476-a0d3-a3cd-b3bb-cde1bf90c40b%40bibliothek.uni-kassel.de.
smime.p7s
Description: S/MIME Cryptographic Signature
