Why has content-prefs.sqlite has gone from 14MB to 55MB ?

User Help for Mozilla Firefox
darkred
Posts: 240
Joined: March 13th, 2010, 6:10 am

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by darkred »

Thanks to all trying to help.
trolly wrote:Maybe load the file into a sqlite manager and vacuum it.

I just tried in Sqlite Manager>Compact, and the file remains exactly the same!

Code: Select all

The database was compacted using VACUUM statement.
Before compacting:
   Page Count    = 1692
   Database Size = 55443456 bytes
After compacting:
   Page Count    = 1692
   Database Size = 55443456 bytes

Also, checking it's integrity (both quickly and full) shows that there's no problem.
'(Firefox for desktop) list fixed bugs in Mercurial' userscript:
as a list: v4.2.2 and, as a sortable table: either v5.5.4 (for all channel users) or v5.5.4 (especially for inbound users).
My other userscripts: GreasyFork OpenUserJS
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by patrickjdempsey »

content-prefs.sql contains page zoom data as well as download and upload folder locations. https://developer.mozilla.org/en-US/doc ... references

So either you've been zooming in on websites or doing a lot of downloads or uploads in that period.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
darkred
Posts: 240
Joined: March 13th, 2010, 6:10 am

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by darkred »

patrickjdempsey wrote:content-prefs.sql contains page zoom data as well as download and upload folder locations. https://developer.mozilla.org/en-US/doc ... references

So either you've been zooming in on websites or doing a lot of downloads or uploads in that period.

No, I never tweak zoom level for any site.

Also, yes, I might have done a lot of downloads,
but almost all of them were stored to the same folder (either C:\Users\username\Downloads or C:\Users\username\Desktop), I rarely change the location.
And, I just cleared Downloads in Library, but content-prefs.sql remains exactly the same.
'(Firefox for desktop) list fixed bugs in Mercurial' userscript:
as a list: v4.2.2 and, as a sortable table: either v5.5.4 (for all channel users) or v5.5.4 (especially for inbound users).
My other userscripts: GreasyFork OpenUserJS
User avatar
patrickjdempsey
Posts: 23686
Joined: October 23rd, 2008, 11:43 am
Location: Asheville NC
Contact:

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by patrickjdempsey »

I don't think that data is cleared with Downloads... Download history is stored in places.sqlite.

But really you are the only person who can answer this question by opening up the two files in the SQLite manager and comparing them.
Tip of the day: If it has "toolbar" in the name, it's crap.
What my avatar is about: https://addons.mozilla.org/en-US/seamonkey/addon/sea-fox/
redwolfe_98
Posts: 402
Joined: September 26th, 2008, 2:13 am
Location: South Carolina, USA

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by redwolfe_98 »

zakk, maybe using backed up profiles is the cause of the problem(s)?

i don't see a need to back up a whole profile.. in my opinion, all you need to back up is your bookmarks..
find answers at "Mozilla Support":
https://support.mozilla.org/en-US/products/firefox
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by dfoulkes »

Assuming that the restoring of a backed up profile is done the normal way... I don't see how that would affect
a file like that... something else is going one. ... and just backing up stuff should not affect anything like that.

I guess it would be interesting to defrag the file... just to see what happens? ... zakk do you have a defraggler? ... I use this one...just stabbing in the dark here...
Defraggler - File and Disk Defragmentation - Free Download

Also... you could always close out Firefox, copy that file to a safe place ... maybe make a new folder under your misc. areas... delete the one in your profile and start Firefox back up... it will/should create the missing file... check its size and watch it for a while to see if it grows.
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
darkred
Posts: 240
Joined: March 13th, 2010, 6:10 am

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by darkred »

dfoulkes wrote:Assuming that the restoring of a backed up profile is done the normal way... I don't see how that would affect
a file like that... something else is going one. ... and just backing up stuff should not affect anything like that.

This is how I restore a profile:
What I do is I backup in a daily basis this folder
C:\Users\User\AppData\Roaming\Mozilla
into a ZIP file.

So, to restore the profile (I've only restored the profile only a few times - after Firefox hang.):
I delete the existing folders:
C:\Users\User\AppData\Roaming\Mozilla and
C:\Users\User\AppData\Local\Mozilla.
Then I unzip the backup file to it's initial path.

So, I also don't think that this may have caused this.

dfoulkes wrote:I guess it would be interesting to defrag the file... just to see what happens? ... zakk do you have a defraggler? ... I use this one...just stabbing in the dark here...
Defraggler - File and Disk Defragmentation - Free Download

Defraggler didn't help, the file remained exactly as it is.

dfoulkes wrote:Also... you could always close out Firefox, copy that file to a safe place ... maybe make a new folder under your misc. areas... delete the one in your profile and start Firefox back up... it will/should create the missing file... check its size and watch it for a while to see if it grows.

So, that's what I did: I took backup of the file, and then deleted it.
It got recreated (224 KB) and Firefox works well with no issues.

Thanks a lot, dfoulkes :)
and to all who contributed to my thread.
'(Firefox for desktop) list fixed bugs in Mercurial' userscript:
as a list: v4.2.2 and, as a sortable table: either v5.5.4 (for all channel users) or v5.5.4 (especially for inbound users).
My other userscripts: GreasyFork OpenUserJS
User avatar
dfoulkes
Posts: 22525
Joined: June 28th, 2008, 10:31 pm
Location: Mesquite, Nevada

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by dfoulkes »

You're Welcome! :D
As you can see she's (The CAT) always alert and on the prowl for Meoware !!
vessto
Posts: 1
Joined: June 6th, 2016, 4:29 pm

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by vessto »

My content-prefs.sqlite is 500 MB. What can I do?
User avatar
LIMPET235
Moderator
Posts: 39952
Joined: October 19th, 2007, 1:53 am
Location: The South Coast of N.S.W. Oz.

Re: Why has content-prefs.sqlite has gone from 14MB to 55MB

Post by LIMPET235 »

You could try the suggestions in this year old thread.

Locking due to old age...
[Ancient Amateur Astronomer.]
Win-10-H/64 bit/500G SSD/16 Gig Ram/450Watt PSU/350WattUPS/Firefox-115.0.2/T-bird-115.3.2./SnagIt-v10.0.1/MWP-7.12.125.

(Always choose the "Custom" Install.)
Locked