What is the recommended Maximum Heap size setting for the jdk?

0
Posted

What is the recommended Maximum Heap size setting for the jdk?

0

The maximum heap size highwater mark must NEVER exceed the amount of physical memory available on the system. Other constraints apply beyond this as well and should be taken into consideration: 1) 2 Gig is a highwater mark that should not be exceeded irregardless of the amount of physical memory available on the sytem. 2) Specifying too large an a stack size can increase the number of page faults and garbage collection related issues.