Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

temporary fix to make jrpm extension compilable with my netbeans environment

orbiterecf765ec33ac
diff --git a/libx/jrpm-SNAPSHOT.jar b/libx/jrpm-SNAPSHOT.jar
new file mode 100644
index 000000000..b5ca56888
Binary files /dev/null and b/libx/jrpm-SNAPSHOT.jar differ
diff --git a/source/de/anomic/plasma/plasmaRankingCRProcess.java b/source/de/anomic/plasma/plasmaRankingCRProcess.java
index 5bd81db1c..1f7fd64d2 100644
--- a/source/de/anomic/plasma/plasmaRankingCRProcess.java
+++ b/source/de/anomic/plasma/plasmaRankingCRProcess.java
@@ -207,7 +207,7 @@ public class plasmaRankingCRProcess {
public static int genrci(File cr_in, File rci_out) throws IOException {
if (!(cr_in.exists())) return 0;
- final kelondroAttrSeq cr = new kelondroAttrSeq(cr_in, false);
+ kelondroAttrSeq cr = new kelondroAttrSeq(cr_in, false);
//if (rci_out.exists()) rci_out.delete(); // we want only fresh rci here (during testing)
if (!(rci_out.exists())) {
kelondroAttrSeq rcix = new kelondroAttrSeq("Global Ranking Reverse Citation Index",
@@ -258,9 +258,13 @@ public class plasmaRankingCRProcess {
l = java.lang.Math.max(1, (System.currentTimeMillis() - start) / 1000);
System.out.println("processed " + count + " citations, " + (count / l) + " per second, rci.size = " + rci.size() + ", " + ((size - count) / (count / l)) + " seconds remaining; mem = " + Runtime.getRuntime().freeMemory());
}
+ i.remove();
}
// finished. write to file
+ cr = null;
+ cr_in = null;
+ System.gc();
rci.toFile(rci_out);
return count;
}