Issue 34

Would it make sense to change the signature to `setCapacityConstraint(long, MemoryUnit)`?