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

Free Support Forum - aspose.com

Working with Large PST Files (10GB)

I’ve got some code that iterates through a PST file and creates a new PST file based on it. This works fine with your standard 1GB PST file.

However, when I run it against a 10GB PST file the application ends super quickly with message counts which are nowhere near correct. I’ll see if I can throw a simple reproduction together, but does anyone have any ideas as to why?

I figured it out. mimeMessage.getContent() apparently maxes out at about 50 messages, hence the quick response. To process all 600k+ messages I needed to use an enumerable.

e.g.
IGenericEnumerator enumerable = inputRoot.enumerateMapiMessages().iterator();
while (enumerable.hasNext()){
MapiMessage message = enumerable.next();
}

Everything is working properly now.

@tembenite

Please feel free to ask if you have any question about Aspose.Email, we will be happy to help you.