System.gc after outofmemory
[jalview.git] / src / jalview / ws / MsaWSClient.java
index 0d4b2c1..0c30201 100755 (executable)
@@ -335,6 +335,7 @@ public class MsaWSClient
              +"\nSee help files for increasing Java Virtual Machine memory."\r
              ,"Out of memory", JOptionPane.WARNING_MESSAGE );\r
           System.out.println("MsaWSClient: "+er);\r
+          System.gc();\r
         }\r
       }\r
 \r