Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 345983

Summary: Report with crosstab runs out of memory
Product: z_Archived Reporter: Steve Schafer <sschafer>
Component: BIRTAssignee: Birt-ReportEngine-inbox <Birt-ReportEngine-inbox>
Status: NEW --- QA Contact: Xiaoying Gu <bluesoldier>
Severity: normal    
Priority: P3 CC: bluesoldier
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Small report that illustrates the problem none

Description Steve Schafer CLA 2011-05-16 12:53:48 EDT
Build Identifier: M20100211-1343

This may be a bug.  Initially it's a question:  Should a crosstab control be able to handle any amount of data?  I've included a simple report with a scripted dataset that feeds a crosstab and parameters to determine the number of rows and columns.  It's easy to get a OutOfMemory exception by setting the rows and columns high enough.  In my test I used 3000 columns and 150 rows.  I'm using a small tester program that uses RunTask only.  -Xmx=1024m, -XX:MaxPermSize=256m. 

Reproducible: Always

Steps to Reproduce:
Run the attached report using IRunTask with Rows=150 and Columns=3000.  In my test it runs out of memory after 183000 cells.
Comment 1 Steve Schafer CLA 2011-05-16 12:55:32 EDT
Created attachment 195761 [details]
Small report that illustrates the problem