Home > Solutions Log > Maven heap size

Maven heap size

The heap size of the Jvm used by Maven (invoked via mvn.bat) can be changed using MAVEN_OPTS parameter at the OS level. For windows, this would be an environment variable.

Variable name: MAVEN_OPTS

Variable value: -Xmx512m

Categories: Solutions Log Tags:
  1. Nagsen
    February 9th, 2010 at 07:13 | #1

    Hey…Thanks a lot…i worked very fine for me…Thanks again…

  2. Nag
    March 8th, 2010 at 12:03 | #2

    Thanks for the info.. worked great.

  1. No trackbacks yet.