use ensurePayloadSize to guesstimate whether the state object is too big, and throw a controlled error to tell users that their state object is too large
Data clip limit is a % of run memory (maybe 25%?) or a fixed size. Or maybe the value is like 25% vs 200mb
See #1203