Invoke garbage collection
This commit is contained in:
Binary file not shown.
@@ -319,6 +319,7 @@ public class UserInterface {
|
|||||||
assert filename != null;
|
assert filename != null;
|
||||||
CellFileWriter writer = new CellFileWriter(filename, sample);
|
CellFileWriter writer = new CellFileWriter(filename, sample);
|
||||||
writer.writeCellsToFile();
|
writer.writeCellsToFile();
|
||||||
|
System.gc();
|
||||||
}
|
}
|
||||||
|
|
||||||
// //for calling from command line
|
// //for calling from command line
|
||||||
@@ -465,6 +466,7 @@ public class UserInterface {
|
|||||||
System.out.println("Writing Sample Plate to file");
|
System.out.println("Writing Sample Plate to file");
|
||||||
writer.writePlateFile();
|
writer.writePlateFile();
|
||||||
System.out.println("Sample Plate written to file: " + filename);
|
System.out.println("Sample Plate written to file: " + filename);
|
||||||
|
System.gc();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -513,6 +515,7 @@ public class UserInterface {
|
|||||||
System.out.println("File I/O time is not included in results.");
|
System.out.println("File I/O time is not included in results.");
|
||||||
dataWriter.writeDataToFile();
|
dataWriter.writeDataToFile();
|
||||||
System.out.println("Graph and Data file written to: " + filename);
|
System.out.println("Graph and Data file written to: " + filename);
|
||||||
|
System.gc();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -567,6 +570,7 @@ public class UserInterface {
|
|||||||
System.out.println("Writing results to file");
|
System.out.println("Writing results to file");
|
||||||
writer.writeResultsToFile();
|
writer.writeResultsToFile();
|
||||||
System.out.println("Results written to file: " + filename);
|
System.out.println("Results written to file: " + filename);
|
||||||
|
System.gc();
|
||||||
}
|
}
|
||||||
|
|
||||||
///////
|
///////
|
||||||
|
|||||||
Reference in New Issue
Block a user