I looked at the introduction to method dispose() in Aspose.Email for Java, but I’m not sure how I should use it to flush memory. The below is my code:
PersonalStorage personalStorage = PersonalStorage.create(cur…...addSubFolder("Inbox"); for (Path emlFile : fileSet) { try { MailMessage...your loop with comments: for (Path emlFile : fileSet) { try { //...