2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: drigeard - ldr69 Perfs issue with IBM JVM 2004-02-23 01:01 I wrote a simple application that generates a pdf file using jasperreport. When i run this application with SUN jdk 1.4.1 it takes 10 seconds to generate the pdf file. When i run this application with IBM jdk 1.4.1 it takes 46 seconds to generate the pdf file. I tried differents OS : linux (redhat), aix 5.1 and windows 2000 but generating the pdf with the IBM JVM is always slower than the SUN JVM. How can I reduce the generating time to produce a pdf file with the ibm jvm ? Thanks. By: Teodor Danciu - teodord RE: Perfs issue with IBM JVM 2004-02-23 01:05 Hi, How much memory do you allocate to your JVM? Thank you, Teodor By: drigeard - ldr69 RE: Perfs issue with IBM JVM 2004-02-23 01:08 none, i run the app with the default configuration. By: Teodor Danciu - teodord RE: Perfs issue with IBM JVM 2004-02-23 01:41 Hi, You probably need to increase the size of the memory for your JVM because the default is 64M and the JVM will spend too much time garbage collecting. The Sun's garbage collecter is better than IBM's, hence the performance difference. Thank you, Teodor By: drigeard - ldr69 RE: Perfs issue with IBM JVM 2004-02-23 02:07 I tried java -Xms128m -Xmx512m ... and it took 42 seconds to generate the pdf file with the IBM JVM By: Teodor Danciu - teodord RE: Perfs issue with IBM JVM 2004-02-23 02:45 Hi, Are you using the BSH report compiler? How many pages are in the generated report? Thank you, Teodor By: drigeard - ldr69 RE: Perfs issue with IBM JVM 2004-02-23 02:54 I'm not using the BSH report compiler. There are 53 pages in the generated report. I've tried the same app with the IBM JVM 1.3.1 and it took 14 seconds to generate the report. By: Frank Jacobs - forkjake RE: Perfs issue with IBM JVM 2004-06-24 08:04 It looks like there hasn't been any activity on this post for a while, but I thought I'd check anyway... Has anyone made any headway in regards to performance issues with IBM JRE 1.4. We've noticed similar slowdowns with the IBM JRE 1.4.1. We are tied to using the IBM JRE (since we are running in WebSphere Appl. Server), so we unfortunately cannot switch to Sun's. Thanks for the help. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now