Distributions to HTTPS servers fail with Java heap memory exhaustion