Here is how I improved the performance: (Note that I prefer jetty to tomcat due to its lightweight nature ..... Actually I use hightide ... but that's another story)
- Make the default memory allocation greater:
# JAVA_OPTIONS
# Extra options to pass to the JVM
TO:
JAVA_OPTIONS="-server -Xmx3800 -Xms3800"
this basically tells the JVM to run in server mode i.e. -server (slower startup time.... faster execution time :)) and to start of with a default of 4GB ram with a max of 4GB ram (Xmx and Xms) . Change this to how much RAM you want allocated to JVM by default
- Update your BIRT runtime to the latest and greatest version
- Update your JDK to the latest version
After installation it note the location of your installation dir
e.g. /home/bla/Desktop/1.6.13_10
or whatever.
again modify jetty.sh (or hightide.sh) changing:
# JAVA_HOME
# Home of Java installation.
to :
JAVA_HOME="/home/bla/Desktop/1.6.13_10"
Thats all. Now give BIRT a spin. My runtime went from 10 secs to 7 secs :)!!
No comments:
Post a Comment