If you are using some script to insert data, then add commit statements as frequently as possible within the script ie inbetween insert statements.