I'm trying to generate a pst file that will contain about 13K messages. After about 5K messages, the performance slows to a crawl.
I've also noticed that it appears the pst file may be buffered in memory as I don't see any bytes written to disk during this time. (I'm passing a buffered FileOutputStream) to the PersonalStorage.create(). There is plenty (2G+) of available heap (all generations). Periodic stack traces show something like this:
java.lang.Thread.State: RUNNABLE
at com.aspose.email.ms.System.IO.f.c(Unknown Source)
at com.aspose.email.ms.System.IO.f.b(Unknown Source)
at com.aspose.email.ms.System.IO.b.a(Unknown Source)
at com.aspose.email.gM$b.a(Unknown Source)
at com.aspose.email.gM$b.b(Unknown Source)
at com.aspose.email.gM$b.a(Unknown Source)
at com.aspose.email.gM.a(Unknown Source)
at com.aspose.email.kA.a(Unknown Source)
at com.aspose.email.hu.(Unknown Source)
at com.aspose.email.eq.a(Unknown Source)
at com.aspose.email.eq.a(Unknown Source)
at com.aspose.email.hz.a(Unknown Source)
at com.aspose.email.FolderInfo.addMessage(Unknown Source)
I'm running the 2.8.0 release, on a linux/sun 1.6 jdk.
Are there performance limits, or suggestions on how to improve the performance, and limit the overhead (mem/cpu) when creating pst files?