quality.annotations = qannotations;\r
quality.graphMax = cons.qualityRange[1].floatValue();\r
}\r
- }catch(OutOfMemoryError error)\r
+ }\r
+ catch (OutOfMemoryError error)\r
{\r
- System.out.println("Out of memory calculating conservation.");\r
+ javax.swing.JOptionPane.showInternalMessageDialog(Desktop.desktop,\r
+ "Out of memory calculating conservation!!"\r
+ +\r
+ "\nSee help files for increasing Java Virtual Machine memory."\r
+ , "Out of memory",\r
+ javax.swing.JOptionPane.WARNING_MESSAGE);\r
+ System.out.println("Conservation calculation: " + error);\r
System.gc();\r
+\r
}\r
}\r
\r
\r
}catch(OutOfMemoryError error)\r
{\r
- System.out.println("Out of memory calculating consensus.");\r
+ javax.swing.JOptionPane.showInternalMessageDialog(Desktop.desktop,\r
+ "Out of memory calculating consensus!!"\r
+ +\r
+ "\nSee help files for increasing Java Virtual Machine memory."\r
+ , "Out of memory",\r
+ javax.swing.JOptionPane.WARNING_MESSAGE);\r
+ System.out.println("Consensus calculation: " + error);\r
System.gc();\r
}\r
\r