/** * Closes this workbook, and frees makes any memory allocated available * for garbage collection */ public override void close() { if (lastSheet != null) { lastSheet.clear(); } excelFile.clear(); //if (!settings.getGCDisabled()) // { // System.gc(); // } }