Why doesn't Postgres autotune those settings? Determining this experimentally seems to be very fragile
java -Xms$FOO -Xmx$BAR
I've worked on things where we had to know the correct heap incantation to run a service.https://confluence.atlassian.com/jirakb/do-not-use-heap-size...
We had this problem for a while in one of our (non-Atlassian) systems and were running it with Xmx at 31.5G