1 thought on “Java -xmx512m -cp meaning in Chinese”

  1. Java's main execution is used to start the Java program. -XMS is the heap memory size of the initial allocation of the virtual machine. If the program takes up the memory very much, you need to use this parameter settings. -CP is the ClassPath, loading the path, and is used for the related class when the loader searches and runtime. I often use the following parameters -XMX512M JVMJAVA -XMX512M -CP what does it mean?