Bug 117450 Birt will hang when add several drivers through
Description: Add several drivers in the "Edit Data source" dialog, click "Ok" button, BIRT will hang and nothing can do except close BIRT forcibly. According to the developer's said, out of memory problem will occur when doing this operation. But why such operation cosumes so many memory? And the memory of my PC is 512M.
data/org.eclipse.birt.report.data.oda.jdbc.ui/src/org/eclipse/birt/report/data/oda/jdbc/ui/dialogs/JdbcDriverManagerDialog.java
editButton.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.Edit" ) ); 
		data = new GridData( GridData.HORIZONTAL_ALIGN_BEGINNING );
		data.widthHint = btnWidth;
		data.heightHint = btnHeight;
		editButton.setLayoutData( data );
		editButton.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				editDriver( );
			}
		} );
		TabItem tabItem = new TabItem( tabFolder, SWT.NONE );
		tabItem.setControl( page );
		tabItem.setText( JdbcPlugin.getResourceString( "driverManagerDialog.text.Drivers" ) ); 
	}
	
	/**
	 * initialize jarMap,driverMap and Viewer
	 */
	private void initialize( )
	{
		jarMap = new HashMap( );
		driverMap = new HashMap( );
		jarsToBeCopied = new Hashtable( );
		jarsToBeDeleted = new Hashtable( );
		
		updateJarMap( );
		updateDriverMap( );
		refreshJarViewer( );
		refreshDriverViewer( );