Skip to content

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

missing change for last commit

orbitercc5dcf69ff3a
diff --git a/source/net/yacy/kelondro/table/Table.java b/source/net/yacy/kelondro/table/Table.java
index d96b4218d..8c448c8c4 100644
--- a/source/net/yacy/kelondro/table/Table.java
+++ b/source/net/yacy/kelondro/table/Table.java
@@ -284,8 +284,8 @@ public class Table implements ObjectIndex, Iterable<Row.Entry> {
return this.table != null;
}
- public static int staticRAMIndexNeed(final File f, final Row rowdef) throws IOException {
- return (int) (((long)(rowdef.primaryKeyLength + 4)) * tableSize(f, rowdef.objectsize) * RowCollection.growfactorLarge100 / 100L);
+ public static long staticRAMIndexNeed(final File f, final Row rowdef) throws IOException {
+ return (((long)(rowdef.primaryKeyLength + 4)) * tableSize(f, rowdef.objectsize) * RowCollection.growfactorLarge100 / 100L);
}
public synchronized void addUnique(final Entry row) throws IOException, RowSpaceExceededException {