Document what happens for stdout > 1 GB.
Add a message at the end of stdout to indicate it is truncated.