Hardware setup is 64x 64bit CPUs, 380GB RAM.
Java/Lein settings are:
#export JVM_OPTS=-Xmx254g -Xss2g
Running a large parallelised Clojure inference algorithm I get
java.lang.OutOfMemoryError: GC overhead limit exceeded
Yet maximal memory usage by the process is around 30GB.
What settings do I need to change? I do not understand why the GC insists on trying to free up memory - there should be plenty to go around!
When limited to 10GB memory and 10 CPUs, the algorithm does not encounter this problem.
-verbose:gc -XX:+PrintGCDetails -Xloggc:gc.log).