Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

locale message cache taking up a lot of space

360 views
Skip to first unread message

Myk Melez

unread,
Sep 15, 2009, 4:47:49 PM9/15/09
to
According to Gmail, I'm using 654MB of storage space on their servers
for my messages. I recently ran out of hard disk space unexpectedly and
discovered that Thunderbird's local cache of those messages is taking up
12GB:

myk@myk:~/.thunderbird/[profile dir]/ImapMail$ du -sh imap.gmail.com
12G imap.gmail.com

That seems like too much space given the size of the messages on the
server. Does anyone know why Thunderbird is using so much space?

I'm using a recent nightly build: Mozilla/5.0 (X11; U; Linux i686;
en-US; rv:1.9.1.4pre) Gecko/20090915 Shredder/3.0b4pre.

The only configuration change I made recently (a few weeks ago) was to
turn on the global search and indexer.

-myk

Myk Melez

unread,
Sep 15, 2009, 4:57:44 PM9/15/09
to
On 09/15/2009 01:47 PM, Myk Melez wrote:
> That seems like too much space given the size of the messages on the
> server. Does anyone know why Thunderbird is using so much space?

Note: the other thing that has been happening every day for the last
several days is that Gmail has been disabling IMAP access to my mail.
Thunderbird displays the following message when it happens:

Account exceeded bandwidth limits. (Failure)

According to some online discussions about this error message, Gmail
disables IMAP access when you use it too much. So perhaps Thunderbird
is repeatedly downloading my messages and storing them locally?

-myk

clay

unread,
Sep 15, 2009, 6:04:32 PM9/15/09
to

You try compacting the folder(s)?
Right click on the folder in Thunderbird, select Compact.
or, click to highlight the account, File>Compact Folders

Myk Melez

unread,
Sep 15, 2009, 6:26:52 PM9/15/09
to clay
On 09/15/2009 03:04 PM, clay wrote:
> You try compacting the folder(s)?
> Right click on the folder in Thunderbird, select Compact.
> or, click to highlight the account, File>Compact Folders

Thanks for the tip! I've compacted them, and now the local cache only
takes up 432MB on disk.

-myk

clay

unread,
Sep 15, 2009, 6:38:38 PM9/15/09
to

cool.
Now go into Edit>Preferences. Select Advanced, Network & Disk Space tab.
Check the box under Disk Space and put 10000 in the box.
That will cause Thunderbird to automatically compact whenever folder(s)
get to 10mb.

Myk Melez

unread,
Sep 15, 2009, 7:18:11 PM9/15/09
to
On 09/15/2009 03:38 PM, clay wrote:
> Now go into Edit>Preferences. Select Advanced, Network & Disk Space tab.
> Check the box under Disk Space and put 10000 in the box.
> That will cause Thunderbird to automatically compact whenever folder(s)
> get to 10mb.

Currently my settings in that tab are:

Use up to [ 50 ] MB of space for the cache.
[CHECKED] Compact folders when it will save over [ 100 ] KB.

Doesn't that mean Thunderbird shouldn't have used more than 50MB and
should have compacted my folders automatically?

-myk

clay

unread,
Sep 15, 2009, 8:23:09 PM9/15/09
to

I don't see the cache option here but this is a Windows box so...

Anyway, with your settings I would have expected Thunderbird to compact
automatically. Maybe IMAP is handled differently, I dunno.

btw, 100 kb is too low, imo. Thunderbird compacts often when it's trying
to be that stingy. It won't let you do anything else while it compacts
and that can be annoying, more than once or twice a week.

Christian Riechers

unread,
Sep 16, 2009, 12:31:56 PM9/16/09
to

My understanding of the cache preference is it works basically the same
as in Firefox. I.e. it caches items from HTML emails, RSS feed items, or
when using the Thunderbrowse add-on.
I doubt it has got anything to do with how much disk space is used for
storing (IMAP) emails offline.

--
Christian

Ron K.

unread,
Sep 16, 2009, 6:38:30 PM9/16/09
to
Christian Riechers keyboarded, On 9/16/2009 12:31 PM:

> On 09/16/2009 01:18 AM, Myk Melez wrote:
>
>> On 09/15/2009 03:38 PM, clay wrote:
>>
>>> Now go into Edit>Preferences. Select Advanced, Network& Disk Space tab.

>>> Check the box under Disk Space and put 10000 in the box.
>>> That will cause Thunderbird to automatically compact whenever folder(s)
>>> get to 10mb.
>>>
>> Currently my settings in that tab are:
>>
>> Use up to [ 50 ] MB of space for the cache.
>> [CHECKED] Compact folders when it will save over [ 100 ] KB.
>>
>> Doesn't that mean Thunderbird shouldn't have used more than 50MB and
>> should have compacted my folders automatically?
>>
>> -myk
>>
> My understanding of the cache preference is it works basically the same
> as in Firefox. I.e. it caches items from HTML emails, RSS feed items, or
> when using the Thunderbrowse add-on.
> I doubt it has got anything to do with how much disk space is used for
> storing (IMAP) emails offline.
>
>

Correct and I is a feature of the Future Tb3. Disk Cache is not turned
on in Tb2.

--
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!

JoeS

unread,
Sep 16, 2009, 8:53:30 PM9/16/09
to

In conjunction with the "Better faster IMAP" initiative, IMAP messages are now downloaded and stored locally by default.
When you started using a current trunk vers, this started happening without your initiating it (I assume)

This is part of trend to show new users all the bells and whistles (just in case they miss them)
I don't agree with this policy.
Don't use IMAP here, but I understand you can disable the feature manually.


--
JoeS Using TB3
http://kb.mozillazine.org/Thunderbird_3.0_-_New_Features_and_Changes
https://developer.mozilla.org/en/Thunderbird/Thunderbird_Binaries

G4TechTV

unread,
Sep 16, 2009, 8:59:36 PM9/16/09
to
On Sep 16, 9:31 am, Christian Riechers <chriech...@netscape.net>
wrote:

I can confirm that ThunderBrowse does nothing with your emails and the
caching and storage thereof. It only handles links.

Myk Melez

unread,
Sep 17, 2009, 5:05:23 PM9/17/09
to
On 09/15/2009 03:26 PM, Myk Melez wrote:
> Thanks for the tip! I've compacted them, and now the local cache only
> takes up 432MB on disk.

Two days later, the local cache of that folder is now taking up 3GB on
disk, and Gmail has locked me out again. :-!

-myk

JoeS

unread,
Sep 17, 2009, 8:31:18 PM9/17/09
to
Closest bug that I can see is:
https://bugzilla.mozilla.org/show_bug.cgi?id=487992
and its dependent bug.
Maybe that can shed some light on your problem.

JoeS

unread,
Sep 20, 2009, 1:11:55 PM9/20/09
to
On 9/15/2009 4:57 PM, Myk Melez wrote:
For those interested, this should be fixed in:
https://bugzilla.mozilla.org/show_bug.cgi?id=517466
0 new messages