It would be used from the bazooka-cli somehow like:

pty.Attrs.MemoryLimitMb = ...
pty.StoreAttributes() // persist mutable attributes.