increased memory limit for emergency cache flush

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@5782 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 16 years ago
parent 4905a17f6a
commit 82fb60a720

@ -270,7 +270,7 @@ public final class IndexCell extends AbstractBufferedIndex implements BufferedIn
private synchronized void cleanCache() {
// dump the cache if necessary
if (this.ram.size() > this.maxRamEntries || (this.ram.size() > 3000 && MemoryControl.available() < 50 * 1024 * 1024)) {
if (this.ram.size() > this.maxRamEntries || (this.ram.size() > 2000 && MemoryControl.available() < 100L * 1024L * 1024L)) {
try {
cacheDump();
} catch (IOException e) {

Loading…
Cancel
Save