Jump to content
We've recently updated our Privacy Statement, available here ×

java heap space error with crosstab


cjasper

Recommended Posts

I am working on crosstab where there are number of row groups(10) , some column group(1)  and some measeures(10).The cross tab is working fine when i limit the number of rows to 5000.But as i am increasing the number of rows to 10000 it is throughing java heap space error .I have tried decreasing the number of measure and row group.but still the same problem exist when the number of column is high.

I have tried setting the report virtualier in ireport with setting block size :100 min. grow count 100 and maximum size of paged in cache 100.  In that case it is throwing following error .

JRGzipVirtualizer Size: 100
Error filling print... java.lang.OutOfMemoryError: Java heap space null
java.lang.OutOfMemoryError: Java heap space 
    at java.util.HashMap.(HashMap.java:209) 
    at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService$BucketListMap.(BucketingService.java:752)

Can anybody please suggest me something about how to work  with large dataset(75000 +  rows) in crosstab or where i may be going wrong.

 

The error code thrown is

java.util.HashMap.(HashMap.java:209) 
    at net.sf.jasperreports.crosstabs.fill.calculation.BucketingService$BucketListMap.(BucketingService.java:752)

 

Thanks for reading

 

Link to comment
Share on other sites

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

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...