-
Notifications
You must be signed in to change notification settings - Fork 122
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PST files 4gb or more - exception in PSTFile #97
Comments
Hello serajdarak, Can you try the pstreader library? https://github.com/Jmcleodfoss/pstreader Just to be sure your PST file isn't corrupted. It seems like there is a problem when processing the Name to ID map. Kind regards, |
Thanks for the advice I tried the pstreader explorer, as you suggested, to check the PST file. |
From James McLeod: "That’s a limitation of the Java nio standard library (the file position is given by a 32-bit integer). I have never stress tested my library with a large file so didn’t notice this limitation. I will have to think about whether and how to rearchitect it to get around this problem." Most likely java-libpst has the same problem (not sure). I guess the solution in the meantime is to split up your PST files. |
I believe file positions in java nio are long, so the 32 bit limitation would be specific to that library. It is likely that PST originally only used 32 bit references for file positions internally so an int was all that was required. It seems logical that the file location encoding would change for files over 4gb to accommodate. If you are able to generate a PST file over 4gb that can be shared I'll try to allocate time to dig into it |
Hello Richard, I have forwarded your message to James McLeod. There is 50GB worth of PST files also ranging from 4GB-11GB from Hacking Team available via this torrent magnet link (see the folders mail, mail2, mail3):
Kind regards, |
The latest version of pstreader now supports larger PST files (over 4GB). |
I've taken the latest code from the develop branch, for java-libpst. It works fine for PST files less than 4gb in size.
For PST files 4gb or more, i get an exception in PSTFile.java, when it's trying to read the PST file
The invokation code is -
PSTFile pstFile = new PSTFile( MigrationTool.EFS_SHARE + "/" +contents[i] );
The pst file was created using Outlook 365
Please can you help with this.
Thanks alot
The text was updated successfully, but these errors were encountered: