[Solved] Error occurred during initialization of VM Could not reserve enough space for object heap

Project Start Error: Error occurred during initialization of VM Could not reserve enough space for object heap.

Solution:
Modify the corresponding file in Tomcat.

Add the following codes:

set JAVA_OPTS=-server -Xms512m -Xmx512m  -XX:PermSize=256m -XX:MaxPermSize=256m

Read More: