A number of our CI jobs build the 5_BRANCH of wildfly (wildfly master + the narayana master) but they occasionally fail on the wildfly release profile whilst downloading the licenses (via the license-maven-plugin in feature-pack/pom.xml) running out of heap space.
I will add -Dlicense.skipDownloadLicenses=true to our narayana.sh CI build script