af.setProgressBar(MessageManager
.getString("status.das_features_being_retrived"), id);
af.featureSettings_actionPerformed(null);
- af.featureSettings.fetchDasFeatures(dasSources, true);
af.setProgressBar(null, id);
synchronized (us)
{
*/
public static void main(String[] args)
{
- instance = new Jalview();
+ float ONE_MB = 1048576f;
+ Runtime runtime = Runtime.getRuntime();
+ float maxMemory = runtime.maxMemory() / ONE_MB;
+ if (maxMemory < 1024 * 15)
+ {
+ System.exit();
+ }
+
+ if (System.ge)
+ {
+ instance = new Jalview();
+ }
instance.doMain(args);
}