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
StreamManager.ROOT_STREAM,
					StreamManager.SELF_SCOPE );
			
			odiResult.doSave( new StreamWrapper( streamForDataSet,
					streamForResultClass,
					streamForGroupInfo,
					null,
					null ), isSubQuery );
			
			if ( streamForDataSet != null )
			{
				streamForDataSet.close( );
				streamForResultClass.close( );
			}
			
			streamForGroupInfo.close( );
			
			
			
			if ( isSubQuery == true )
			{
				if ( streamManager.hasOutStream( DataEngineContext.SUBQUERY_INFO_STREAM,
						StreamManager.SUB_QUERY_ROOT_STREAM,
						StreamManager.SELF_SCOPE ) == false )
				{
					
					saveSubQueryInfo( groupLevel, subQueryInfo );
				}
			}
		}