Tip : Setting heap size for maven applications

Some times we may need to provide good amount of heap space to maven to run the build. This may be because you are loading lot of resources like loading temporary db to run the test cases. Or one may like to run the web application using some embedded container like jetty. Here you can find how to set memory options with maven. Continue reading