+ ex + "\n");
} catch (OutOfMemoryError e)
{
- new jalview.gui.OOMWarning("loading jalview XML file", e,
- Desktop.instance);
+ // Don't use the OOM Window here
+ errorMessage = "Out of memory loading jalview XML file";
+ System.err.println("Out of memory whilst loading jalview XML file");
+ e.printStackTrace();
}
if (Desktop.instance != null)