#567428 swaks: Uses excessive amounts of ram with --body -

#567428#5
Date:
2010-01-29 01:34:29 UTC
From:
To:
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.

#567428#10
Date:
2010-02-04 15:54:34 UTC
From:
To:
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