Bug 208511 The memory cache issue when preview crosstab in deploy environment[1102]
data/org.eclipse.birt.report.data.adapter/src/org/eclipse/birt/report/data/adapter/impl/DataRequestSessionImpl.java
* @param stopSign
	 * @throws IOException
	 * @throws BirtException
	 * @throws DataException
	 */
	private void createCube( TabularCubeHandle cubeHandle,
			CubeMaterializer cubeMaterializer, Map appContext, StopSign stopSign )
			throws IOException, BirtException, DataException
	{
		boolean doPerfTuning = this.needCachedDataSetToEnhancePerformance( cubeHandle )
				&& ( appContext == null || ( appContext != null
						&& appContext.get( DataEngine.DATA_SET_CACHE_ROW_LIMIT ) == null 
						&& appContext.get( DataEngine.MEMORY_DATA_SET_CACHE ) == null ) );
		Map candidateAppContext = new HashMap();
		if ( appContext!= null )
			candidateAppContext.putAll( appContext );
		if ( doPerfTuning )
		{
			candidateAppContext.put( DataEngine.DATA_SET_CACHE_ROW_LIMIT, new Integer(-1) );
		}
					
		List measureNames = new ArrayList( );
		List measureGroups = cubeHandle.getContents( CubeHandle.MEASURE_GROUPS_PROP );
		for ( int i = 0; i < measureGroups.size( ); i++ )
		{
			MeasureGroupHandle mgh = (MeasureGroupHandle) measureGroups.get( i );
			List measures = mgh.getContents( MeasureGroupHandle.MEASURES_PROP );
			for ( int j = 0; j < measures.size( ); j++ )
			{
				MeasureHandle measure = (MeasureHandle) measures.get( j );