I've pushed in the memory issue fix to master to work with storage subsystem. This will help get rid of huge memory footprint issue on master builds. A small stripped version of MAVEN_OPTS can be used if your development environment is in short of memory, you may try following settings to MAVEN_OPTS
-XX:MaxPermSize=128m -Xmx512m Kelven