This question about Java MaxHeapSize was closed because it needs to be more focused. How can it be made more focused?
"Needs more focus" is defined here as "has many valid answers (but no way to determine which - if any - are correct)". However, this is not the case. I ask for the list of things that influence MaxHeapSize. That's one answer - a list of things. Could be a community wiki.