Yes, -Xmx sets the maximum size of the JVM (The default value is 64MB).
The "reasonable" size is determined by the requirements of your program (don't set to a gig if you only need 256MB) as well as the physical RAM on your machine.
Java Command Documentation