@@ -0,0 +1,1447 @@
+package br.inpe.cap.evolution.processor;%0D%0A%0D%0Aimport java.io.File;%0D%0Aimport java.io.IOException;%0D%0Aimport java.nio.file.Files;%0D%0Aimport java.nio.file.Paths;%0D%0Aimport java.util.Collection;%0D%0Aimport java.util.stream.Stream;%0D%0A%0D%0Aimport org.apache.commons.io.FileUtils;%0D%0Aimport org.repodriller.persistence.csv.CSVFile;%0D%0A%0D%0Apublic class RemoveUnchangedArtifactsStandAlonePostProcessor %7B%0D%0A%0D%0A%09public static void main(String%5B%5D args) %7B%0D%0A%0D%0A%09%09System.out.println(%22Starting...%22);%0D%0A%09%09%0D%0A%09%09final File pathToLook = new File(%22C:%5C%5CUsers%5C%5CLuizWagner%5C%5CDesktop%5C%5Cevolutions_joined%5C%5Cunchanged%22);%0D%0A%09%09final String outputPath = pathToLook + File.separator + %22output%22;%0D%0A%09%09new File(outputPath).mkdirs();%0D%0A%09%09Collection%3CFile%3E arquivos = FileUtils.listFiles(pathToLook, null, false);%0D%0A%09%09%0D%0A%09%09arquivos.parallelStream().forEach((csvInput)-%3E %7B%0D%0A%09%09%09%0D%0A%09%09%09final RemoveUnchangedArtifactsPostProcessor postProcessor = new RemoveUnchangedArtifactsPostProcessor(false);%0D%0A%09%09%09final String name = csvInput.getName();%0D%0A%09%09%09System.out.println(%22Processing %22+name);%0D%0A%09%09%09final CSVFile csvOutput = new CSVFile(outputPath + File.separator + name);%0D%0A%09%09%09%0D%0A%09%09%09try %7B%0D%0A%09%09%09%09final Stream%3CString%3E listCsvLines = Files.lines(Paths.get(csvInput.toURI()));%0D%0A%09%09%09%09postProcessor.processCsvLines(csvOutput, listCsvLines);%0D%0A%09%09%09%7D catch (RuntimeException %7C IOException e) %7B%0D%0A%09%09%09%09e.printStackTrace();%0D%0A%09%09%09%7D%0D%0A%09%09%09%0D%0A%09%09%09System.gc();%0D%0A%09%09%09System.out.println(%22Done %22+name);%0D%0A%09%09%09%0D%0A%09%09%7D);%0D%0A%0D%0A%09%09System.out.println(%22Finish!%22);%0D%0A%09%0D%0A%09%7D%0D%0A%09%0D%0A%7D%0D%0A

Change way of processing lines from List<String> to Stream<String> in order to process the 15 billion lines csv file!