I know you have much more experience with ZFS than I do, but let me a bit picky (or wrong?):
In my understanding there might be up to three TXGs active - and "active" for me means they occupy the storage and/or(?) Ram for the data they are handling in that moment.
Cited from delphix.com/blog/zfs-fundamentals-transaction-groups :
"... There are three active transaction group states: open, quiescing, or syncing. At any given time, there may be an active txg associated with each state; each active txg may either be processing, or blocked waiting to enter the next state. There may be up to three active txgs, ..."
This looks like it would possibly need space for up to 3*5 seconds...