I have found a legacy software that we're using that has its launch properties malformed, so it receives these two unequal xmx as a properties:
java -jar myapp.jar -Xmx128m -Xmx512m
I do not have access to the launcher source code(not being able to modify it), so I ask, what is the impact of the duplication of these parameters? Can I leave this in this way, or should I worry? Which one will be applied?
The JVM used is JRE 6 update 18