Try to read a large PST file with large attachment. The code is simple:
PersonalStorage.fromFile(file.getAbsolutePath());
Here is my test result:
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!
PersonalStorage.fromFile(file.getAbsolutePath());
Here is my test result:
No of Messages | File Size | Memory | Time to read PST |
---|---|---|---|
95 | 1032m | 4g | 30 sec |
95 | 1032m | 4.9g | 10 sec |
96 | 1075m | 4.9g | 120 sec |
98 | 1164m | 4.9g | 10 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!