How to determine optimal java heap size

1
How can we determine the optimal java heap size for our application? Does Mendix have any recommendation for Mendix 4 for setting the java heap size?
asked
0 answers