Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On my work PC, Firefox stores a 10 MB file called places.sqlite in my roaming profile:

C:\Users\MY_USERNAME\AppData\Roaming\Mozilla\Firefox\Profiles\PROFILE_ID\places.sqlite

I don't use any location-related features in Firefox, and this file causes my roaming profile to be larger than my company allows (25 MB), meaning I get warnings about my profile size every day.

Can I stop Firefox storing this file in my roaming profile?

share|improve this question
    
This approach could help, although it does appear to destroy the entire roaming profile: superuser.com/questions/138275/… –  Paul D. Waite Aug 28 '12 at 8:51
2  
For the record, 25MB is an absurdly small limit for a roaming profile. Firefox is likely to be only the first of your problems. –  Harry Johnston Aug 29 '12 at 2:43
2  
@HarryJohnston Although I concur with your real life observation, I must debate that the user profile size on a common Windows system is absurd. Nowadays application developers tend to depreciate the importance of small storage foot print, they also tend to confuse cache data with user persistence and with user independent data. To my opinion, the least an application should do is to give the option to separate those locations. –  amotzg Aug 29 '12 at 7:22
add comment

1 Answer

up vote 4 down vote accepted

places.sqlite is not about location information, it's about Firefox history and bookmarks. See http://kb.mozillazine.org/Places.sqlite:

The file "places.sqlite" stores the annotations, bookmarks, favorite icons, input history, keywords, and browsing history (a record of visited pages).

There is no simple way to move only your places.sqlite to another location. The following bug report is about setting the places.sqlite location and it is resolved as WONTFIX. Maybe you can get some useful information from that bug's comments.

You can try taking the whole Firefox profile out of your roaming profile location. See Changing Firefox profile folder location. Though, this will take out the point from a roaming profile, right? ;)

You can also tell Firefox not to save your browsing history, this can decrease the places file size. Or, Firefox also have an option to delete your history upon closing the browser, this will still let you have history of the current session. (Update: see first comment by Paul D. Waite about this option)

share|improve this answer
3  
"You can also tell Firefox not to save your browsing history, this can decrease the places file size." - I don't think this will decrease it below 10 MB. I gave it a go, and places.sqlite stayed at 10 MB. I believe the file is stored in 10 MB chunks (see forums.mozillazine.org/…). Great answer though, much appreciated. –  Paul D. Waite Aug 28 '12 at 10:52
    
@PaulD.Waite You could try storing the actual file in a different location and use a symbolic link within the FF profile. Of course, if you're actually roaming this might not work too well. –  Bob Aug 29 '12 at 7:44
1  
@Bob Using links for this task, one should be careful from concurrent file access by different instances. This solution is discussed in comments on the bug report I've linked to, search for the word link on the bug page for more details. bugzilla.mozilla.org/show_bug.cgi?id=385077 –  amotzg Aug 29 '12 at 7:54
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.