MozillaZine

what happened to config.trim_on_minimize?

Discussion about official Mozilla Thunderbird builds
tanstaafl
Moderator

User avatar
 
Posts: 45495
Joined: July 30th, 2003, 5:06 pm

Post Posted February 19th, 2007, 1:38 pm

Somebody mentioned in the Thunderbird support forum that config.trim_on_minimize was not defined in 1.5.0.9 so I looked in my version 2 beta 2 (20070219) build. There was no sign of it using the config editor or in the mailnews.js file . I had changed its default value shortly after installing 1.5. I added it and it had no effect (as expected).

Why is it gone? It was a very useful way to minimize the side effects of memory leaks.

As an aside it would be nice if Thunderbird either listed or asked permission before deleting any preferences from prefs.js.

http://kb.mozillazine.org/Config.trim_on_minimize
http://kb.mozillazine.org/Performance_%28Thunderbird%29

smsmith
Moderator

User avatar
 
Posts: 19833
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted February 19th, 2007, 2:27 pm

I thought you always had to ADD it, that it wasn't there by default...
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted February 19th, 2007, 3:22 pm

smsmith wrote:I thought you always had to ADD it, that it wasn't there by default...

Yep.
Caveats

This preference does not exist by default.

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted February 19th, 2007, 3:48 pm

Curious. I don't seem to have the memory leaks, but was wondering if the config edit works the same when minimizing to the tray like if using RBTray?

Edit: Nope. It doesn't work when minimizing to the Tray.
Last edited by Old Bozz on February 20th, 2007, 2:37 pm, edited 1 time in total.

berniedurfee
 
Posts: 2
Joined: February 19th, 2007, 12:24 pm

Post Posted February 19th, 2007, 4:08 pm

Thanks, I did not see the caveats.

tanstaafl
Moderator

User avatar
 
Posts: 45495
Joined: July 30th, 2003, 5:06 pm

Post Posted February 19th, 2007, 5:41 pm

Whether or not it exists by default is not the issue. I had added/modified that setting back when I used 1.5 RC2 and checked that it still worked several versions later. I'm still using the same prefs.js file and all traces of it are gone. When I add it, it does nothing. It used to have a very noticeable effect.

How come after all this time it still isn't listed in mailnews.js or all-thunderbird.js? I couldn't find any references to config.trim_on_minimize or trim_on_minimize in the sources using http://lxr.mozilla.org/mailnews/ . Has anybody who added the setting gotten it to do anything?

smsmith
Moderator

User avatar
 
Posts: 19833
Joined: December 7th, 2004, 8:51 pm
Location: Indiana

Post Posted February 19th, 2007, 6:03 pm

I just tried it:
Mem Usage before minimize = 36,000 +/-
Mem Usage directly afterwards = 6,000 +/-

Although, usage tends to creep over time, but usually ebbs around 12,000 +/-.

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.2pre) Gecko/20070218 Thunderbird/2.0pre ID:2007021804
Give a man a fish, and he eats for a day. Teach a man to fish, and he eats for a lifetime.
I like poetry, long walks on the beach and poking dead things with a stick.
Please do not PM me for personal support. Keep posts here in the Forums instead and we all learn.

tanstaafl
Moderator

User avatar
 
Posts: 45495
Joined: July 30th, 2003, 5:06 pm

Post Posted February 19th, 2007, 10:49 pm

I tested it again (I didn't change the setting) and this time it dropped from 24MB to 3MB, and then jumped to 12MB when I maximized it. It now works every time I try it. At this point I'm not sure if I made some stupid mistake beforehand or if there is something flaky with my configuration. Thanks for confirming you got it to work.

mscott

User avatar
 
Posts: 2516
Joined: April 2nd, 2003, 4:10 pm
Location: Thunderbird Research Center, CA

Post Posted February 20th, 2007, 9:45 am

tanstaafl wrote:Whether or not it exists by default is not the issue. I had added/modified that setting back when I used 1.5 RC2 and checked that it still worked several versions later. I'm still using the same prefs.js file and all traces of it are gone. When I add it, it does nothing. It used to have a very noticeable effect.

How come after all this time it still isn't listed in mailnews.js or all-thunderbird.js? I couldn't find any references to config.trim_on_minimize or trim_on_minimize in the sources using http://lxr.mozilla.org/mailnews/ . Has anybody who added the setting gotten it to do anything?


You searched in the wrong directory. It's used in the mozilla widget code on Windows:

http://lxr.mozilla.org/mozilla/search?s ... kytricky=1
Thunderbirds are Go!

dekoninck
 
Posts: 12
Joined: August 7th, 2007, 10:17 pm

Post Posted August 14th, 2007, 8:06 pm

Should this setting work if I am using the Minimize to Tray extension? Does not seeem to the work... in Firefox 2.0.0.6. But the having extension disabled, it is the same.

Old Bozz
 
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post Posted August 15th, 2007, 1:57 pm

I use RBTray and for the above to work I have to minimize to the task bar first and then to the tray. It might be the same for the extension your using.

dekoninck
 
Posts: 12
Joined: August 7th, 2007, 10:17 pm

Post Posted August 19th, 2007, 6:30 pm

Too bad, no change in the memory usage :(

peter.kehl
 
Posts: 8
Joined: July 16th, 2008, 6:30 am
Location: Vancouver, Canada

Post Posted January 27th, 2019, 4:51 pm

Code: Select all
config.trim_on_minimize
has no effect. Removed as per https://bugzilla.mozilla.org/show_bug.cgi?id=1325503.

trolly
Moderator

User avatar
 
Posts: 39908
Joined: August 22nd, 2005, 7:25 am

Post Posted January 28th, 2019, 8:28 am

I doubt this is interesting for anybody after 12 years. Locking.
Think for yourself. Otherwise you have to believe what other people tell you.
A society based on individualism is an oxymoron. || Freedom is at first the freedom to starve.
Constitution says: One man, one vote. Supreme court says: One dollar, one vote.

Return to Thunderbird Builds


Who is online

Users browsing this forum: No registered users and 2 guests