- fixed a bug with merge method
- patched wrong output of language identification (not fixed, only patched!)
git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5181 6c8d7289-2bf4-0310-a012-ef5d649a1542
serverLog.logSevere("PLASMA BALANCER","get() was not able to find a valid urlhash - total size = "+size()+", fileStack.size() = "+urlFileStack.size()+", ramStack.size() = "+urlRAMStack.size()+", domainStacks.size() = "+domainStacks.size());
serverLog.logSevere("BALANCER","get() was not able to find a valid urlhash - total size = "+size()+", fileStack.size() = "+urlFileStack.size()+", ramStack.size() = "+urlRAMStack.size()+", domainStacks.size() = "+domainStacks.size());
returnnull;
}
@ -573,7 +573,7 @@ public class Balancer {
// in best case, this should never happen if the balancer works propertly
// this is only to protection against the worst case, where the crawler could
// behave in a DoS-manner
serverLog.logInfo("PLASMA BALANCER","forcing fetch delay of "+sleeptime+" millisecond for "+crawlEntry.url().getHost());
serverLog.logInfo("BALANCER","forcing fetch delay of "+sleeptime+" millisecond for "+crawlEntry.url().getHost());
System.out.println("*** DEBUG " +tablefile+": available RAM: "+(serverMemory.available()/1024/1024)+"MB, allocating space for "+records+" entries");
serverLog.logInfo("ECOTABLE","initialization of " +tablefile+": available RAM: "+(serverMemory.available()/1024/1024)+"MB, allocating space for "+records+" entries");
// despite calculations seemed to show that there is enough memory for the table AND the index
// there is now not enough memory left for the index. So delete the table again to free the memory
// for the index
System.out.println("*** DEBUG "+tablefile+": not enough RAM ("+(serverMemory.available()/1024/1024)+"MB) left for index, deleting allocated table space to enable index space allocation (needed: "+(neededRAM4index/1024/1024)+"MB)");
serverLog.logSevere("ECOTABLE",tablefile+": not enough RAM ("+(serverMemory.available()/1024/1024)+"MB) left for index, deleting allocated table space to enable index space allocation (needed: "+(neededRAM4index/1024/1024)+"MB)");
table=null;System.gc();
System.out.println("*** DEBUG "+tablefile+": RAM after releasing the table: "+(serverMemory.available()/1024/1024)+"MB");
serverLog.logSevere("ECOTABLE",tablefile+": RAM after releasing the table: "+(serverMemory.available()/1024/1024)+"MB");
System.out.println("^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ if you see this many times please report to forum");