Increase memory size, use a different GC collector, kill surefire process on OOM.