Bug 153856 Viewing a quite big report causes a exception thrown
I built a report, which uses 4 flat file data sources(.csv file) and contains lots of query in the expression of data item. Then when viewing this report causes a exception thrown: "java.lang.ClassException:java.lang.OutOfMemoryError" And the xml of report is attahed. Thanks.
data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDSaveUtil.java
private StreamManager streamManager;
	
	/**
	 * @param queryDefn
	 */
	RDSaveUtil( int mode, IBaseQueryDefinition queryDefn,
			StreamManager streamManager )
	{
		this.mode = mode;
		this.queryDefn = queryDefn;
		this.streamManager = streamManager;
	}
	
	/**
	 * Save below information into report document:
	 * 		result class
	 * 		group information
	 * 		subquery information
	 *  
	 * @param odiResult
	 * @param groupLevel
	 * @param subQueryInfo
	 * @throws DataException
	 */
	void saveResultIterator( IResultIterator odiResult,
			int groupLevel, int[] subQueryInfo ) throws DataException
	{
		if ( mode == DataEngineContext.MODE_GENERATION )
			saveForGeneration( odiResult, groupLevel, subQueryInfo );
		else