Fix infinite loop in allocator (#214)
Fix infinite loop in allocator (#214)

If we create a new allocator starting with zero pagesize, then addBufferWithMinSize() will run
into an infinite loop, trying to achieve the required buffer size by doubling the pagesize. This
change sets the pagesize to a small value if it is zero.
dgraph-io/ristretto,dgraph-io/ristretto