Under OpenVZ the max heap size is considered to be used immediately by the java process. If -Xmx is not specified the default size may be 1 GB or higher, and this often causes java processes to fail under OpenVZ if the memory isn't available.
ca-certificates-java doesn't need that much memory to work properly, limiting the heap to 64M should be enough. Emmanuel Bourg -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org