Quantcast
Channel: Aspose.Email Product Family
Viewing all articles
Browse latest Browse all 1367

out of memory error when loading over 1 Gb PST file with multiple 41m attachments.

$
0
0
Try to read a large PST file with large attachment.  The code is simple:
PersonalStorage.fromFile(file.getAbsolutePath());

Here is my test result: 

No of MessagesFile SizeMemoryTime to read PST
951032m4g30 sec
951032m4.9g10 sec
961075m4.9g120 sec
981164m4.9g10 min

If I add more messages with 41m attachments to the PST file, it will run for very long time and eventually crashes with memory error. 

I can not find a way to avoid the crash.  Please help!

Viewing all articles
Browse latest Browse all 1367

Trending Articles