Move the blacklist storage to an external file

Bug reports and enhancement requests
Post Reply
Mathnerd314
Posts: 3
Joined: Wed Dec 11, 2013 5:29 am

Move the blacklist storage to an external file

Post by Mathnerd314 »

Checking my error console I see the following:

Code: Select all

Warning: attempting to write 8987 bytes to preference sites. This is bad for general performance and memory usage. Such an amount of data should rather be written to an external file.
Further exploration shows this is the capability.policy.maonoscript.sites preference and that the warning was added almost a year ago. The warning even showed up in October 2013 in http://forums.informaction.com/viewtopi ... =7&t=17293, but nobody commented on it then.

I realize the warning starts at 4kb and 8kb is pretty far away from the 1MB hard limit, but maybe you could store the blacklist externally? (and possibly the whitelist too). There's already import/export code defining a reasonable format, although maybe the profile data should be compressed for faster startup.

Side note: the forum software blocked the title "Store the blacklist in an external file", apparently due to the word 'store'. Maybe it could be a little less trigger-happy?
Mozilla/5.0 (Windows NT 6.3; WOW64; rv:33.0) Gecko/20100101 Firefox/33.0
Post Reply