Today, The application run into java.lang.OutOfMemory when executing the "mvn site " to generate reports.
Solution:
The maven has provided a machnism to upate the jvm option. It can be fixed by the following step(s):
On Window,
Set MAVEN_OPTS="-Xmx1024m -Xms512m"
On Unix/Linux:
export MAVEN_OPTS="-Xmx1024m -Xms512m"