Skip to content

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

adopted memory calculation to new memory amount used by kelondroCollectionObjectMap

orbiter4fa3271754c8
diff --git a/source/de/anomic/kelondro/kelondroRecords.java b/source/de/anomic/kelondro/kelondroRecords.java
index 2b0eaf736..f8ecd4e35 100644
--- a/source/de/anomic/kelondro/kelondroRecords.java
+++ b/source/de/anomic/kelondro/kelondroRecords.java
@@ -85,7 +85,7 @@ public class kelondroRecords {
public final static boolean useWriteBuffer = false;
// memory calculation
- private static final int element_in_cache = 52;
+ private static final int element_in_cache = 4; // for kelondroCollectionObjectMap: 4; for HashMap: 52
private static final int cache_control_entry = 96;
// caching flags