Lindsey,

Unfortunately:

 -Xrunhprof:cpu=samples,file=log.txt,depth=10

doesn't profile the heap.  You profiled the CPU.  :-)  What you want to use
is something like:

 -Xrunhprof:heap=sites,depth=10

which would give us the heap information.

I had a suspicion, and thought that it might be a side-effect of a change
made to support the Delivered-To header.  However, as I am reviewing the
code in more depth, I believe that my initial thought is only partially
correct.  There look to be two problems:

  1) It appears that the current JDBC store does not use a stream
     for body content.  Only the file and dbfile stores using a
     stream for body content.

  2) javax.mail.internet.MimeMessage loads all message data into
     memory in the constructor.

Both of those are resolvable.

        --- Noel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to