git://source.jalview.org
/
jalview.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b16c762
)
safer OOM handling when importing from XML
author
jprocter
<Jim Procter>
Tue, 13 Oct 2009 15:10:05 +0000
(15:10 +0000)
committer
jprocter
<Jim Procter>
Tue, 13 Oct 2009 15:10:05 +0000
(15:10 +0000)
src/jalview/gui/Jalview2XML.java
patch
|
blob
|
history
diff --git
a/src/jalview/gui/Jalview2XML.java
b/src/jalview/gui/Jalview2XML.java
index
8497df7
..
f9a2fa9
100755
(executable)
--- a/
src/jalview/gui/Jalview2XML.java
+++ b/
src/jalview/gui/Jalview2XML.java
@@
-1603,8
+1603,10
@@
public class Jalview2XML
+ 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)