james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Daring" <cog...@chello.at>
Subject Re: Merge Status
Date Thu, 11 Mar 2004 16:15:03 GMT

----- Original Message -----
From: "Noel J. Bergman" <noel@devtech.com>
To: "James Developers List" <server-dev@james.apache.org>
Sent: Wednesday, March 10, 2004 8:36 AM
Subject: RE: Merge Status

> > > I have also been looking at memory usage.  MimeMessageWrapper needs
> work.
> > > We should not need to load the MimeMessage at all just to work with
> > > headers.  We should be able to add headers without rendering the body,
> > > although if we add headers and then save, we currently count on the
> > > that we are are writing from memory (otherwise we'd be writing the
> > > stream we are reading).

Just dont call saveChanges()!

> > Yeah, I would say more than just an individual header, but also
> > individual message parts.  For example, you should be able to add a
> > text/html footer to a message with a big image/zip attachment and not
> > have to load that image/zip attachment into memory.

That´s also possible as long as no content is added that need encoding!

If you dont believe, try it, especially if you intend just u write back
"this doesnt work" without verification!


To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message