a little bit better memory protection

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@3439 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 18 years ago
parent 313f6a7680
commit 3499a364ef

@ -284,7 +284,7 @@ public class kelondroCollectionIndex {
// this is computed by the size of the biggest used collection // this is computed by the size of the biggest used collection
// this must be multiplied with the payload size // this must be multiplied with the payload size
// and doubled for necessary memory transformation during sort operation // and doubled for necessary memory transformation during sort operation
return 2 * arrayCapacity(arrays.size() - 1) * this.payloadrow.objectsize; return (int) (2 * arrayCapacity(arrays.size() - 1) * this.payloadrow.objectsize * kelondroRowSet.growfactor);
} }
private void array_remove( private void array_remove(

Loading…
Cancel
Save