We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Aspose.Email java memory limitation

Hi,


We are using Apsose.email for parsing .msg emails. As number of emails grows, runtime memory consumed to process the email takes 2-3 times the email content size.

For example, if i process any 50, 20mb emails simultanously it takes 4gb RAM. and it is not scaling more than that with 4gb ram.
Similarly for 2 mb emails, we are not able to simultanously process 500 emails.

We wanted to know:
1. Do we have any benchmark from aspose which claims how many concurrent emails (of different size) can be processed with what memory settings?
2. Also is there any possibility to read email attributes like to, from etc without loading entire 10mb emails. I mean is there any way to take first 1000 bytes and find from it?

Thanks,
Ajesh

Hi Ajesh,

Thank you for writing to Aspose suppor team.

1. Could you please provide us with your sample code and some sample files that you are trying to observe the issue at your end?

2. The message headers can be different in the files with meta data located at various locations and a generalized parser for such data extraction is not available.