maven Error occurred during initialization of VM Too small initial heap


yaomingyangdeMacBook-Pro:ggauthority yaomingyang$ mvn dependency:tree
Error occurred during initialization of VM
Too small initial heap

The above error occurred while using Maven. The solution is:

 export MAVEN_OPTS=-Xmx1024m

Read More: