IReport 4.1.x and 4.5 performance problems

0

 Hi,

I have enourmous performance problems with Ireport 4.1.3 and 4.5.0. I use Jasperreports server 4.0.2 and load the reports via the repository navigator.

Java is installed in version 1.60_23, I user Win7 X64 and have quite a performant workstation with 8 GB Ram and a Core i7-CPU.

I measured the time it takes to open a quite complex report: 

4.0.1: 7 seconds

4.1.3: 96 seconds

4.5.0: I killed the process after it was loading 5 minutes...

Btw: I imported the settings from 4.0.1 to the other versions, so everything should be configured the same. Ireport compatibility is set to 4_0_1.

Someone an idea what goes wrong here?

pumaking's picture
Joined: Mar 10 2008 - 7:45pm
Last seen: 1 year 8 months ago

19 Answers:

0

I also recently upgraded from 3.7.x to 4.5.0 and the performance is terrible.  It takes almost a minute to load the initial design view of a small report.  It can take 15-30 seconds after clicking on a report element to see the design and properties react to the selection.

I wanted to try increasing the memory allocated to Java, but I can no longer find the ireport.conf file that was present in earlier versions.

This is really terrible performance and a major step backwards for a good product..

rlfisher's picture
135
Joined: Oct 24 2008 - 9:56am
Last seen: 2 months 4 weeks ago
0

 Yes !

I am going back to 4.0.2. Version 4.11 && 4.5.0 blow in terms of speed. I know I am not adding to the discussion, but 5 - 6 times slower ?!

 Check your code or at least tell us why you are doing extra in the background to warrent this waiting.

 

On MacOS X 10.7.2 : I am seeing iReport doing allmost nothing or spiking ~130%three times before giving me my preview.



Post Edited by miltenb at 01/30/2012 06:20
miltenb's picture
22
Joined: Jun 28 2011 - 1:41am
Last seen: 4 weeks 5 hours ago
0

On a developer enviroment, I had previously a weird sistuation.

I use a virtual machine envirionment with VirtualBox, being Windows 7 SP1 64 Bits and the Guest an Windows XP Pro SP3 32 Bits.

If I use the Direct3D drivers of the Virtualbox Guest Additions, the iReport in the VM will be very slow...

 

The java.exe process will use a lot of CPU usage because of this.

Not sure if it is related with your problem.



Post Edited by robccsilva at 01/26/2012 14:04
robccsilva's picture
Joined: Feb 25 2011 - 2:41pm
Last seen: 3 years 5 months ago
0

I installed iReport 4.5 yesterday, and was surprised by how long it takes to load my report (compared to 4.0.0). I will probably revert to an earlier version until this is fixed.

bobjasper's picture
Joined: Mar 10 2011 - 6:16am
Last seen: 7 months 2 weeks ago
0
Totally agree. +1
yanivd's picture
5
Joined: Oct 18 2010 - 6:55am
Last seen: 2 months 7 hours ago
0

 Same here ... I hope it gets fixed soon.

diddy's picture
19
Joined: Nov 15 2011 - 2:35am
Last seen: 1 year 9 months ago
0
For me this works:
1.) Uninstall jasperreports-extensions plugin.
2.) In Options --> Classpath remove all entries.
3.) Restart iReport.
geri's picture
3
Joined: Jan 26 2012 - 7:46am
Last seen: 2 years 6 months ago
0
This seems to work for me as well !

Great !!
miltenb's picture
22
Joined: Jun 28 2011 - 1:41am
Last seen: 4 weeks 5 hours ago
0

 For me too. But does this have any other negative effects?

pumaking's picture
Joined: Mar 10 2008 - 7:45pm
Last seen: 1 year 8 months ago
0

Did not find any as of yet. However, after a few runs new Classpath entries were created and the speed starts to decrease.

I can keep deleting off course, but something of a more structural nature would be great.



Post Edited by miltenb at 01/30/2012 15:43
miltenb's picture
22
Joined: Jun 28 2011 - 1:41am
Last seen: 4 weeks 5 hours ago
0

Did you uninstall the plugin (not only deactivate it)?

I have 7 entries in the classpath tab.

geri's picture
3
Joined: Jan 26 2012 - 7:46am
Last seen: 2 years 6 months ago
0

 Yes, I deleted the plugin. And I only have 7 Classpaths ( where were tens of them before ).

miltenb's picture
22
Joined: Jun 28 2011 - 1:41am
Last seen: 4 weeks 5 hours ago
0

wow. Uninstalling extension and removing classpath worked for me too. Thanks.

I'm new to iReports, and just started using it with the 4.5.0 release. Last few days I've been thinking "how does anyone get anything done with this tool?". I glad to find that the slowness (especially when compiling) is not the norm.  I wouldn't have known otherwise.

kpukka's picture
5
Joined: Dec 14 2011 - 1:40pm
Last seen: 2 years 8 months ago
0

1) I can deactivate the plug-in but cannot see how to uninstall it.  the checkbox is greyed out/not selectable.

2) there are over 100 items in the classpath - they ALL get removed?

rlfisher's picture
135
Joined: Oct 24 2008 - 9:56am
Last seen: 2 months 4 weeks ago
0

To uninstall plugin:

  • Tools -> Plugins
  • Select "Installed" tab
  • Check "jasperreports-extensions"
  • Click uninstall button at bottom.

To remove classpaths:

  • Tools -> Options -> iReport -> Classpath
  • Shift-Click or Ctrl-A to select all
  • Remove
kpukka's picture
5
Joined: Dec 14 2011 - 1:40pm
Last seen: 2 years 8 months ago
0
I´m glad that i could help with my solution. I hope, someone of the developers read this thread and correct this problem in 4.5.1.
geri's picture
3
Joined: Jan 26 2012 - 7:46am
Last seen: 2 years 6 months ago
0

My issue is that ALL of the installed plugins are "greyed out."  They can be higlighted, but I cannot check the checkbox.

I am surprised that iReport can run without ANY of the classpaths.

rlfisher's picture
135
Joined: Oct 24 2008 - 9:56am
Last seen: 2 months 4 weeks ago
1

Thanks for posting the solution here.  I moved to version 4.3.1.

erikdeveza's picture
Joined: Oct 14 2010 - 5:35pm
Last seen: 3 years 10 months ago
0

I've been suffering the slowness of iReport for several months working with a huge report.

I've tried everything, even using JasperSoft Studio (which went a bit faster), but could never use the designer with a speed as when you're using Word.

Today I've discovered JasperWave (www.jasperwave.com) which goes really fast! So I recommend you to try JasperWave.

fambrius's picture
Joined: Sep 28 2012 - 1:58am
Last seen: 1 year 10 months ago
Feedback
randomness