- Summary:
Partly fix bug 152692
- Bugzilla Bug (s) Resolved:
Partly fix bug 152692: OutOfMemoryError for report with large data set
- Description:
In
original group algorithm Dte will store calculation results to an ArrayList
when calculating a total _expression_. When there are a large amount of groups
the group information storage may cause memory problem.
A class
CachedList is added. The class implements List and can use disk to store a
large element set. This checkin is helpful for bug 152692. But more
investigation is demanded to confirm whether the bug can be fixed completely.
.
- Tests Description:
Junit Test
- Notes to Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to Documentation:
N/A
- Files Edited:
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInstanceSorter.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInformationUtil.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupCalculationUtil.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInfo.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupInstanceFilter.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/executor/transform/group/GroupWithIntervalsProcessor.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/GroupInfoUtil.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/BasicCachedList.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/CachedList.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/ICachedObjectCreator.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/ICachedObject.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/aggregation/AggregateCalculator.java
- Files Added:
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/BasicCachedList.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/CachedList.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/ICachedObjectCreator.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/cache/ICachedObject.java
- Files
Deleted:
N/A