Increasing JVM heap size for Maven

There might be few instances when you are working on bigger project and it needs to do lot of processing while building/packaging final package of the project. In such projects there are chances that you’ll get JVM heap size error while building maven project. You can change the JVM options for Maven2 by setting following environment properties on your system:

Environment variable name: MAVEN_OPTS
JVM value: -Xms512m -Xmx1024m (adjust these values based on your project requirement).

Hope this will help you!

Comments

Popular posts from this blog

Custom synchronisation or rollout action for blueprint ?

AEM as a Cloud Service (AEMaaCS) – Architecture Overview

AEM as a Cloud Service (AEMaaCS) – Quick Introduction

AEM, FORM Submission & Handling POST requests