Daily Development solutions for common and complicated problems.
May 21, 2012
Had this while building company's project.
Solution is very easy, add "MAVEN_OPTS" to your system parameters
Add "-Xms2048 -Xmx4096"
Of course the minimum size and the maximum size depends on your local machine.