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
import org.eclipse.swt.widgets.Table;
import org.eclipse.swt.widgets.TableColumn;
import org.eclipse.swt.widgets.TableItem;
import org.eclipse.swt.widgets.Text;
/**
 * A dialog to manage Jdbc drivers.
 */
public class JdbcDriverManagerDialog extends Dialog
{
	private TableViewer jarViewer, driverViewer;
	private Button addButton, restoreButton, deleteButton, editButton;
	private Map jarMap, driverMap;
	private TabFolder tabFolder;
	
	/**
	 * a flag indicate whether the jar page has been changed
	 */
	private boolean jarChanged = false;
	
	/**
	 * list of jars to be copied and deleted when okPressed
	 */
	private Hashtable jarsToBeCopied,jarsToBeDeleted;
	
	private static final int btnWidth = 90;
	private static final int btnHeight = 24;
	/**
	 * The constructor.
	 * 
	 * @param parentShell