Hi Laura,
It hadn't occurred to me that the GC choice might be involved.
Also, I though G1 was the default GC but it seems at java11 it isn't
that simple. It's build dependent.
I use the Ubuntu build of OpenJDK.
Java11 has Shenandoah
Java17 has G1 -- and I think java21 will be G1.
Could you try Java17?
And Jena will be moving to require java17. The project supports 2 LTS
and Java21 in September is LTS.
Andy
On 14/07/2023 08:54, Laura Morales wrote:
Have you tried different garbage collectors?
WOAH I didn't even consider that before you mentioned it! I did this
JVM_ARGS="-XX:+UseSerialGC -Xmx4G" ./fuseki-server ...
and RAM usage of the java process peaked at 12GB
$ cat /proc/108344/status | grep VmHWM
VmHWM: 11916368 kB
Unfortunately I'm not at all familiar with Java garbage collectors. I don't
understand why this option would use 1/3 less RAM than the default GC.
What other options are available for a more aggressive GC? I'm more interested
in reducing RAM usage than raw query performance.