Closed Bug 188748 Opened 23 years ago Closed 20 years ago

*.msf file should reduce in size when I delete some emails

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: antonio.xu, Assigned: mscott)

Details

Build ID: Mozilla 1.3b(Trunk) Mailnews's *.msf should reduce in size when I delete some emails. Steps to Reproduce: 1. Check the size of your Inbox's *.msf file. 2. launch mailnews 3. delete some emails(I delete 100 eamils) 4. empty your trash 5. close mailnews 6. Check the size of your Inbox's *.msf file again. Expected Results: Mailnews's *.msf should reduce in size Actual Results: Mailnews's *.msf didn't reduce in size This is a very important bug, the *.msf file will more and more big while I keep on using mozilla mailnews client, finally, my home directory will be full.
This is why "Compact this folder" exists....
the .msf file stores a change log and only reduces in size when it decides it needs to do a compress commit, i.e., a certain amount of space will be saved. Compact folder will also, as Boris says, produce a minimal size .msf file
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → INVALID
I have used "Compact this folder" to reduce in size of my .msf file, but I found it seems didn't work. My .msf file'didn't reduce in size. By the way, I found a very serious problem, I found a lot of emails had beed losed in my folder after I used "Compact this folder". So I think I should reopen this bug.
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
antonio, folder corruption has nothing to do with this bug (and you should open a new bug for any folder corruption). This bug is not valid - deleting a message doesn't neccesarily make the .msf file smaller, and that's by design.
So if "Compact this folder" was works fine, this function will reduce in size of my .msf file. So if the problem is "Compact this folder" didn't work, I will open another bug for this issue.
"Compact this folder" does not work for me with mozilla 1.4.1. I've deleted the entire contents of some folders, e.g. tomcat mailing list >60000 mails. Now the .msf files still waste megabytes and compacting does not change anything. Look here: -rw-rw-r-- 1 boris boris 14M 21. Nov 16:58 Struts.msf -rw-rw-r-- 1 boris boris 13M 21. Nov 16:59 Tomcat.msf I want to keep the folders and associated filters, so deleting the folders is not an option (and no cure for this bug). The mails were located on an IMAP server. It's also interesting to note that the "Opening Folder..." text in the status line does not vanish after some time, when I select one of these folders.
If you're talking about imap folders, you can just delete the local .msf files and they will get regenerated. They should shrink at some point if you've deleted lots of messages, but it sounds like it's not happening for you.
Product: MailNews → Core
[unable to reach reporter] remarking INVALID per bienvenu If you still have a problem, reopen with testcase using current trunk build version.
Severity: major → normal
Status: REOPENED → RESOLVED
Closed: 23 years ago20 years ago
Resolution: --- → INVALID
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.