I need to test a mail server that has to support messages nearly 100M in size. So I created a 99MB test file and redirected swaks stdin from the file with the "--body -" option. This resulted in a swaks process that took over 1.6G of virtual memory with well over 1G paged in. I think that any RAM requirement more than twice the size of the body is excessive.
I knew it was bad, but that seems excessive. Anyway, I've had a version of this on my list for a while: - 20050510 reading large input from STDIN is memory wasteful I'll add the --body, --attach stuff for review also. No promise on a timeline, but it is on my radar. Thx --John