Skip to content

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

better logging for domain extraction

orbiter493b1cd2bf06
diff --git a/source/yacy.java b/source/yacy.java
index e38ad8195..412fd1367 100644
--- a/source/yacy.java
+++ b/source/yacy.java
@@ -961,7 +961,7 @@ public final class yacy {
System.out.println(
c + " urls checked, " +
doms.size() + " domains collected, " +
- Runtime.getRuntime().freeMemory() + " freeMem, " +
+ ((Runtime.getRuntime().maxMemory() - Runtime.getRuntime().totalMemory() + Runtime.getRuntime().freeMemory()) / 1024 / 1024) + " MB available, " +
((System.currentTimeMillis() - start) * (pool.loadedURL.size() - c) / c / 60000) + " minutes remaining.");
}
}