small fix for RAM computation

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3447 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 33f97cff7a
commit 23338d2070

@ -111,7 +111,7 @@ public class kelondroFlexTable extends kelondroFlexWidthArray implements kelondr
} }
public static int staticRAMIndexNeed(File path, String tablename, kelondroRow rowdef) { public static int staticRAMIndexNeed(File path, String tablename, kelondroRow rowdef) {
return (rowdef.column(0).cellwidth() + 4) * staticSize(path, tablename); return (int) ((rowdef.column(0).cellwidth() + 4) * staticSize(path, tablename) * kelondroRowSet.growfactor);
} }
public boolean hasRAMIndex() { public boolean hasRAMIndex() {

Loading…
Cancel
Save