Bug#985920: ca-certificates-java: -Xmx64m may not be sufficient any more

Thorsten Glaser tg at debian.org
Fri Mar 26 02:33:58 GMT 2021


Package: ca-certificates-java
Version: 20190909

Granted this is on a debian-ports architecture and with an old JDK
but I just hit this error:



Setting up openjdk-8-jdk:alpha (8u222-b10-1) ...
update-alternatives: using /usr/lib/jvm/java-8-openjdk-alpha/bin/appletviewer to provide /usr/bin/appletviewer (appletviewer) in auto mode
update-alternatives: using /usr/lib/jvm/java-8-openjdk-alpha/bin/jconsole to provide /usr/bin/jconsole (jconsole) in auto mode
Processing triggers for libc-bin (2.31-10) ...
Processing triggers for ca-certificates (20210119) ...
Updating certificates in /etc/ssl/certs...
0 added, 0 removed; done.
Running hooks in /etc/ca-certificates/update.d...

Error occurred during initialization of VM
Too small initial heap
E: /etc/ca-certificates/update.d/jks-keystore exited with code 1.
done.
Errors were encountered while processing:
 ca-certificates-java
E: Sub-process /usr/bin/dpkg returned an error code (1)
E: Failed to process build dependencies



Might be more future-proof to raise the heap maximum size (Xmx).
If concerned about memory use, you can still specify a smaller
minimum heap size…



More information about the pkg-java-maintainers mailing list