Jump to content
Changes to the Jaspersoft community edition download ×

[Resolved] Generating report with subreports is very long


shizuku

Recommended Posts

Hi eveyone,

I'm coming here to have any help about the generation of a report. I have a main report (+- 200K lines) who is generated in less then 2 minutes by ireport, but, when I add subreports to this main, the generation become very very slow (more then 1 hour) and I don't know why. In Toad all my requests are very quick and it's the same when I try all my subreports separately. I'm using iReport 4.5.1

After a lot of hours with my friend Google to try different solutions, IDK what to do more to increase the generation.

I tried :

  • Change de config file of ireport by changing J-Xms512m -J-Xmx1024m line (can't put more then 1024 or ireport doesn't want to start)
  • Use a virtualizer in the tools of ireport
  • Print When Detail Overflow is false on every subreport

A total generation for 5 or 10 minutes can be OK for me, but more not.

I was wondering if using sub dataset can be a solution to replace sub reports ? (Never used it before, looking for tutorials to see when and how to use them).

I hope someone will be able to help :)

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

He's located in a Group, but I find the solution : there was not an Index on a column I used in my where clause. Now the generation tooks a little more then 5 minutes :)

BTW thanks for the information, I'll keep it in mind in the future if needed

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...