if yo u have it in the tent, you won't require much. It'll mostly be about fitting properly. Then, how often to empty it? if you can run a drain hose, this eliminates that.
gallon? 4L? At lower humidity bet you don't have to empty it too often. Ask the salesman at the store. the devices usually have some specification about how much water it'll pull at some arbitrary ambient setting over 24 hours. Usually a much higher RH% than 40.