}
}
- AlignmentI indres = proxy.getSequenceRecords(item);
+
+ AlignmentI indres = null;
+ try
+ {
+ indres = proxy.getSequenceRecords(item);
+ } catch (OutOfMemoryError oome)
+ {
+ new OOMWarning(
+ "fetching " + item + " from "
+ + database.getSelectedItem(),oome,
+ this);
+ }
if (indres != null)
{
if (aresult == null)
multiacc.append(proxy.getAccessionSeparator());
}
}
- aresult = proxy.getSequenceRecords(multiacc.toString());
+ try
+ {
+ aresult = proxy.getSequenceRecords(multiacc.toString());
+ } catch (OutOfMemoryError oome)
+ {
+ new OOMWarning(
+ "fetching " + multiacc + " from "
+ + database.getSelectedItem(),oome,
+ this);
+ }
+
+
}
} catch (Exception e)