[quote user="idw"]
[quote user="Konrad Hammerer"]Just wondering: Is there a 2GB limit on PMM files?[/quote]
Yes. It's a limitation for 32bit applications which requires lots of special efforts to work around.
[/quote]
Actually, I think a little clarification is required here: it's not actually a restriction on 32-bit applications - any 32-bit application can easily do 64-bit file operations without needing any special coding; the problem here is simply one of old code in Pegasus Mail. The existing foldering layer was written a long time ago, before the advent of 64-bit file operations, and hence has the limits that applied at the time it was written. Rewriting the code to use 64-bit operations is possible, but impractical at this point, simply because the whole lot is going to get replaced by a completely new foldering layer at some point in any event. And yes, the new foldering layer (which is about 90% complete) uses 64-bit file operations, even on old Pegasus Mail v2-format folders, so it does not suffer from the 2GB size limit. I should probably also point out that it's still a 32-bit application, though - you will be able to run it on both 32- and 64-bit versions of Windows. For an application like Pegasus Mail, there is no noticeable advantage in producing a true 64-bit version.
Because of the nightmare year I have had (I have spent much of it trying to track down a single problem in Mercury), I'm quite a bit further behind where I would hope to be by now, and it is unlikely that the new foldering layer will make it into the initial releases of Pegasus Mail v5, but I *will* make modifications to the existing foldering code that will issue warnings when a folder is approaching the 2GB limit, and will stop you from adding data to folders once they have reached that limit. This should tide people over until the new code becomes available.
Cheers!
-- David --
[quote user="idw"]<p>[quote user="Konrad Hammerer"]Just wondering: Is there a 2GB limit on PMM files?[/quote]</p><p>Yes. It's a limitation for 32bit applications which requires lots of special efforts to work around.</p>[/quote]
Actually, I think a little clarification is required here: it's not actually a restriction on 32-bit applications - any 32-bit application can easily do 64-bit file operations without needing any special coding; the problem here is simply one of old code in Pegasus Mail. The existing foldering layer was written a long time ago, before the advent of 64-bit file operations, and hence has the limits that applied at the time it was written. Rewriting the code to use 64-bit operations is possible, but impractical at this point, simply because the whole lot is going to get replaced by a completely new foldering layer at some point in any event. And yes, the new foldering layer (which is about 90% complete) uses 64-bit file operations, even on old Pegasus Mail v2-format folders, so it does not suffer from the 2GB size limit. I should probably also point out that it's still a 32-bit application, though - you will be able to run it on both 32- and 64-bit versions of Windows. For an application like Pegasus Mail, there is no noticeable advantage in producing a true 64-bit version.
Because of the nightmare year I have had (I have spent much of it trying to track down a single problem in Mercury), I'm quite a bit further behind where I would hope to be by now, and it is unlikely that the new foldering layer will make it into the initial releases of Pegasus Mail v5, but I *will* make modifications to the existing foldering code that will issue warnings when a folder is approaching the 2GB limit, and will stop you from adding data to folders once they have reached that limit. This should tide people over until the new code becomes available.
Cheers!
-- David --