To avoid this, we already configured findbugs to use 512Mo, however as this can still be inefficieant, know that you can give more memory to findbugs by simply overriding an Ant Property:
[ # For windows ANT_OPTS=-Dfindbugs.memory=-Xms1024m -Xmx1024m # For *nix export ANT_OPTS="-Dfindbugs.memory=-Xms1024m -Xmx1024m"
XRadar is a XSLT product based, and it uses Ant for the transformation, which means XRadar is basicly a bunch of xsl script triggered by a standalone, java program, Ant pr Maven 2.
In order to run the XRadar properly, you need to set properly your Ant environement.
# For windows ANT_OPTS=-Dfile.encoding=ISO-8859-1 # For *nix export ANT_OPTS="-Dfile.encoding=UTF-8"
The file encoding used here is the default for each platform. If you are using a linux box with the ISO-8858-1 encoding or a Windows box with UTF-8 ( is there such a thing ?), please adapt this configuration, and used the proper setting, unless you really to run into a hell of trouble....
# For windows ANT_OPTS=-Dfile.encoding=ISO-8859-1 -Xmx512M # For *nix export ANT_OPTS="-Dfile.encoding=UTF-8 -Xmx512M"
This is a bug in the xalan ship in sun's JDK5. To avoid it, we have placed xalan-2.7.1 with it two pals xercesImpl-2.7.1.jar and the serializer-2.7.1.jar in the XRADAR_HOME/lib/endorsed directory. To override the JDK's default librairies you just have to set the proper parameter:
# For windows ANT_OPTS=-Dfile.encoding=ISO-8859-1 -Djava.endorsed.dirs=XRADAR_HOME/lib/endorsed/ -Xmx512M # For *nix export ANT_OPTS="-Dfile.encoding=UTF-8 -Djava.endorsed.dirs=XRADAR_HOME/lib/endorsed/ -Xmx512M"
# For windows ANT_OPTS=-Dfile.encoding=ISO-8859-1 -Duser.language=en -Djava.endorsed.dirs=XRADAR_HOME/lib/endorsed/ -Xmx512M # For *nix export ANT_OPTS="-Dfile.encoding=UTF-8 -Duser.language=en -Djava.endorsed.dirs=XRADAR_HOME/lib/endorsed/ -Xmx512M"
Also note that if an xslt transformation encounter a problem, Ant may not systematicly crash, so it important, at least the first times, to pay attention to the messages or warning appearing while xradar is running. All of this is advice to help you, but you'll hopefully won't need it !
# For windows ANT_OPTS=-DproxySet=true -DproxyHost=<your proxy host> -DproxyPort=<your proxy host port> # For *nix export ANT_OPTS="-DproxySet=true -DproxyHost=<your proxy host> -DproxyPort=<your proxy host port>"