Very good point.  Perhaps the solution is to check the set value for the JVM args and either warn or flat out remove an -Xmx entry if present so that it does not interfere with the one set statically in the constant.  I will also update the help documentation to note that you cannot override the -Xmx setting.