Maximum Size for the Octopus Variable

What is the maximum size for the Octopus Variable that I can assign during Runbook creation?

string s = {lots of text}
Octopus.SetVariable("Output", s);

Will this work for any size of text?
Thank you.

Hi @chikov2,

Thanks for reaching out on our community forum! I don’t know the exact max size a variable can be, but I think it can be varchar(max) or ~2Gb. An output variable could then be the 2Gb subtract all the other variable text. However, you may encounter issues with variable strings larger than 500Mb. You may need to consider alternatives if you’re working with strings larger than that.

Let us know if you have any other questions.


1 Like