Pegasus Mail & Mercury

Welcome to the Community for Pegasus Mail and
The Mercury Mail Transport System, the Internet's longest-serving PC e-mail system!
Welcome to Pegasus Mail & Mercury Sign in | Join | Help
in
Home Blogs Forums Downloads Pegasus Mail Overview Mercury Overview Wiki

Major problem: Hit 2GB limit on .pmm file

Last post 05-27-2015, 23:13 by Chrysaor. 16 replies.
Page 1 of 2 (17 items)   1 2 Next >
Sort Posts: Previous Next
  •  06-07-2010, 9:35

    • ArnorBld is not online. Last active: 06-07-2010, 10:52 ArnorBld
    • Not Ranked
    • Joined on 06-06-2010
    • Member
    • Points 35

    Major problem: Hit 2GB limit on .pmm file

    Hi all,

    I have been using Pegasus Mail since 1996!  Sometime earlier today my main folder popped > 2GB (right now it sits at 2,149,296,980 bytes and when I checked my email this afternoon it was all messed up.  Re-indexing doesn't help and checking it shows an error.  I do have a good backup from June 1 and haven't really lost very much as most of noteworty emails I copy to other folders, but have gotten lazy about cleaning up my main so now I'm paying the price<g>  I'm still on version 4.41 and I am wondering if the latest versions might allow me to recover.  I have several other computers that I can use for email in the meantime, so not big workloss for me, but I'm not going to sleep well tonight knowing this<g>

    Any suggestions before I go back to last week's backup?

    Best regards,

    Arnor Baldvinsson, Icetips Alta LLC
    Port Angeles, WA

  •  06-07-2010, 14:09

    • aderoy is not online. Last active: 08-23-2019, 15:41 aderoy
    • Top 50 Contributor
    • Joined on 05-09-2007
    • Participant
    • Points 2,600

    Re: Major problem: Hit 2GB limit on .pmm file

    How to restore the file would of course require knowing what application was used for backing up your machine. 

    The main.pmm & main.pmi should be copied or renamed incase the restore fails.

    With EMC Retrospect & Novastor all you do is select the media (tape for me) select the file and restore to same location overwriting the old files. 

    If done via DVD copy then you also have the added step of removing the 'readonly' flag.

    Can you supply the name/version of the backup program?

  •  06-10-2010, 22:09

    • idw is not online. Last active: Sat, Aug 24 2019, 13:25 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,100
    • BetaTeam

    Re: Major problem: Hit 2GB limit on .pmm file

    ArnorBld:

    Hi all,

    I have been using Pegasus Mail since 1996!  Sometime earlier today my main folder popped > 2GB (right now it sits at 2,149,296,980 bytes and when I checked my email this afternoon it was all messed up.  Re-indexing doesn't help and checking it shows an error.  I do have a good backup from June 1 and haven't really lost very much as most of noteworty emails I copy to other folders, but have gotten lazy about cleaning up my main so now I'm paying the price<g>  I'm still on version 4.41 and I am wondering if the latest versions might allow me to recover.  I have several other computers that I can use for email in the meantime, so not big workloss for me, but I'm not going to sleep well tonight knowing this<g>

    Any suggestions before I go back to last week's backup?

    Maybe this tool can help out. Another one can be found here.


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 26 5c a3 60 02 c6 e3 8a 75 70 d5 6a 67 ff d3 8d b0 b5 5e 5b
  •  12-06-2013, 18:34

    • Burkhard is not online. Last active: 12-07-2013, 10:58 Burkhard
    • Not Ranked
    • Joined on 12-06-2013
    • Member
    • Points 30

    Re: Major problem: Hit 2GB limit on .pmm file

    Hello to all experts,

    I use Pegasus over 10 years and today I reached the 2GB limit with my main folder and the single mails in it seemed to be corrupt.

    Could there be a solution to split all messages with NOTSPLIT.EXE, delete some of the big ones to reach a total size of somewhat below 2GB and join them to get a new complete folder ?

    Can you please help me by supporting a tool similar to NOSPLIT but which will join it again ?

    Every help is welcome.

    Many thanks for that great product.

    Best regards

    Burkhard

    Filed under:
  •  12-06-2013, 19:53

    • bfluet is not online. Last active: 21-07-2019, 3:12 bfluet
    • Top 10 Contributor
    • Joined on 05-10-2007
    • North Carolina, USA
    • SuperStar
    • Points 15,200

    Re: Major problem: Hit 2GB limit on .pmm file

    Here are my notes to self from a past experience with the 2 GB limit (backup you mailbox directory first):

    1.  Create a temporary folder Pegasus Mail folder and move the messages to it that you want to keep.  Delete the remaining messages out of the affected folder.  Create 2 folders if you want to keep all messages and split the move between the two folders.
    2.  Delete the problem folder.  I never understood why this was required but I was not able to use a folder once it had hit the 2 GB limit.  It appears that the indexing capability gets broken.
    3.  Rename the temporary folder to the name of the original folder  (optional).
    4.  Reset any filters that copied or moved messages the original folder.  This is must be done even if you renamed the temporary folder back to the original folder name.  If you are recreating the Main folder you will need to reset the "Name for default mail folder" setting located in Tools > Options > General settings > Basic settings.  Use the 'Select folder' button.

    As for NOTSPLIT.EXE, I have never used it but I understand that it extracts the messages into individual message files (.CNM files?) .  If this is the case, you could add the directory (ies) that contain the .CNM files as an added mailbox to the Pegasus Mail folder list and then copy or move the messages to any other Pegasus Mail folder.


  •  12-07-2013, 9:57

    • Burkhard is not online. Last active: 12-07-2013, 10:58 Burkhard
    • Not Ranked
    • Joined on 12-06-2013
    • Member
    • Points 30

    Re: Major problem: Hit 2GB limit on .pmm file

    Hello Brian,

    thanks for help.

    I tried to do so but if I copy mails from the problem folder to my new temp folder the contents of all copied mails is incorrect and does not belong to the header and sender information. It seems that the idexing of the old folder is corrupt.

    Is there a way to access the corrupted folder anyway ?

    Cheers

    Burkhard

  •  12-07-2013, 10:58

    • Burkhard is not online. Last active: 12-07-2013, 10:58 Burkhard
    • Not Ranked
    • Joined on 12-06-2013
    • Member
    • Points 30

    Re: Major problem: Hit 2GB limit on .pmm file

    Hi Brian,

    again many thanks for help.

    I could copy all important mails and after reindexing the new folder all mails and contents are ok.

    I am really happy....

    Cheers and have a nice weekend

    Burkhard

  •  12-12-2013, 12:45

    Re: Major problem: Hit 2GB limit on .pmm file

    Hi All,

    Just wondering: Is there a 2GB limit on PMM files? Till now, I was not aware of that and some of my users are already very close with a couple of folders :-(.

    Thx

    Konrad

     

  •  12-12-2013, 15:12

    • idw is not online. Last active: Sat, Aug 24 2019, 13:25 idw
    • Top 10 Contributor
    • Joined on 03-25-2007
    • Germany
    • SuperStar
    • Points 47,100
    • BetaTeam

    Re: Major problem: Hit 2GB limit on .pmm file

    Konrad Hammerer:
    Just wondering: Is there a 2GB limit on PMM files?

    Yes. It's a limitation for 32bit applications which requires lots of special efforts to work around.


    Michael

    --
    PGP Key ID (RSA 2048): 0xC45D831B
    PGP Plugin for Pegasus Mail: <http://www.pmpgp.de/pmpgp/>
    S/MIME Certificate Fingerprint: 26 5c a3 60 02 c6 e3 8a 75 70 d5 6a 67 ff d3 8d b0 b5 5e 5b
  •  12-12-2013, 15:19

    Re: Major problem: Hit 2GB limit on .pmm file

    Thx! Anybody knows if the new mail store (v5) will be able to handle folders bigger than 2GB? Or will there be 64bit binaries available in the future?

     

    Konrad

  •  12-13-2013, 1:13

    • David Harris is not online. Last active: 11-16-2018, 3:14 David Harris
    • Top 25 Contributor
    • Joined on 01-31-2007
    • New Zealand
    • Star
    • Points 9,950
    • SystemAdministrator

    Re: Major problem: Hit 2GB limit on .pmm file

    idw:

    Konrad Hammerer:
    Just wondering: Is there a 2GB limit on PMM files?

    Yes. It's a limitation for 32bit applications which requires lots of special efforts to work around.



    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 --

  •  12-13-2013, 8:42

    Re: Major problem: Hit 2GB limit on .pmm file

    Thanks for the clarification and just one last question from my side:

    Does this limitation also exist for a Mercury - IMAP - Thunderbird combination?

    Konrad

  •  05-14-2015, 17:17

    • Dilip is not online. Last active: 06-16-2019, 10:39 Dilip
    • Top 150 Contributor
    • Joined on 05-21-2007
    • Member
    • Points 590

    Re: Major problem: Hit 2GB limit on .pmm file

    Thanks to Brian, Michael, and others for these details. My large folder is my Main one. It took a long time to close Pegasus Mail as I kept getting the same message that the Mainfolder has reached its maximum size (looks like 1,904,463 KB). Now that Pegasus Mail finally closed, I could copy my large folder, FOL00273.PMM to a temporary folder and then delete it to let Pegasus come up, but how do I set the "Name for default mail folder" when Pegasus isn't even up?

    If I'm able to do that, I'm still confused about the next step. How do I decrease the size of the Main folder? I didn't understand renaming the temporary folder to the name of the original - "Main" maybe? Then how do I reduce the size of Main and continue along?

    I'm guessing I need to do something before I open Pegasus Mail again. I am running under Windows and think I have the most recent version (how to check with it closed?). Thanks.

                           Dilip 

  •  05-14-2015, 21:43

    • Brian Fluet is not online. Last active: 08-24-2019, 20:50 Brian Fluet
    • Top 10 Contributor
    • Joined on 12-24-2014
    • North Carolina, USA
    • SuperStar
    • Points 26,065

    Re: Major problem: Hit 2GB limit on .pmm file

    My instructions assumed that you would be able to move the files out of the problem folder into two new folders while in Pegasus Mail.  The purpose of the renaming is because the original folder becomes useless even after the size is reduced.  Renaming it to something like Bad_Folder allows you to create one of the new folders with the same name the old one had.

    If you are not able to work with this folder at all while in Pegasus Mail then your only option may be to move the associated file pair out of the mailbox directory (do this with Pegasus Mail closed).  You will then need to use a program like NOTSPLIT to break that .PMM file into individual message files (.CNM files).  You can store those message files in a directory which you can then add to your Pegasus Mail folder list as an added mailbox.  You then have the option of continuing to run Pegasus Mail with the added mailbox or you can move the messages from the added mailbox to other folders.

    NOTSPLIT is available from the downloads section of this site.  It is in the tools and utilities section of add-ons for Pegasus Mail.  One thing to be aware of with NOTSPLIT is that it extracts the .CNM files to your %temp% directory which makes it challenging to round them all up so as to move them to their own directory.  There is no control over the extract destination.

    Post back if you are not familiar with adding a directory as an added mailbox to the folder list and we'll walk you through it.  Be sure to work with a copy of the .pmm file keeping a safety backup just in case.

    Assuming your Main folder was your default mail folder, you will need to designate a new folder that will serve as the default mail folder.  Go to Tools > Options > Basic settings and use the 'Select folder' button to select the folder that will serve as your default mail folder.  You can use a newly created folder named "Main folder" only if the old one is gone.  If you do this I believe you must still select it to be the default mail folder.  Otherwise I think Pegasus will be looking for the internal folder ID of the old one.

    Finally, I understand the 2GB with of messages is a lot of files but I can't think of an easier way.  Someone else please chime in if they know of one.

  •  05-15-2015, 4:43

    • Dilip is not online. Last active: 06-16-2019, 10:39 Dilip
    • Top 150 Contributor
    • Joined on 05-21-2007
    • Member
    • Points 590

    Re: Major problem: Hit 2GB limit on .pmm file

    Thanks. Would an easier option be to try to re-open Pegasus Mail and, if it opens successfully, go in and whittle down the main folder, then close and reopen Pegasus? The idea of using NOTSPLIT sounds tedious to end up with thousands or maybe tens of thousands of individual .CNM files.
Page 1 of 2 (17 items)   1 2 Next >
View as RSS news feed in XML

Contact | Advertise | Host provider: PraktIT | Terms of Use | Privacy Statement
Copyright © 2007-2011 David Harris / Peter Strömblad. | Pegasus Mail Home Page