Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.5
-
None
Description
Issue
Memory usage is wasted because MimeMessageUtils writes ByteArrayInputStream instead of SharedByteArrayInputStream.
SharedInputStream
`Java Mail API` provides a mechanism to save memory usage.
If you use SharedByteInputStream, you can use it as a Call by Reference without assigning a new byte[] of the factor.
Please refer to the following for detailed memory usage comparison.
Thanks
Attachments
Issue Links
- links to