搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

Learn More

Form History causes lag

  • 4 回覆
  • 1 有這個問題
  • 8 次檢視
  • 最近回覆由 Vas

more options

After examining the situation a bit, it seems that the cause of my severe firefox lag, is the form history sql database has over 8000 entries in it and every single character I type into the form I'm using, causes intense freezes while it scans this database.

I've temporarily fixed this problem by opening the database "%\AppData\%\Mozilla\Firefox\Profiles\########.default\formhistory.sqlite" and executing this command;

DELETE
FROM
    moz_formhistory
WHERE
    timesUsed = 1

However, this shouldn't be needed. I am in an i7 running at 3.5GHz, and an SSD, with 32GB of RAM. I can't see why 8000 lines would be so hard for firefox to scan through with so much power available. Before I ran the command, I was being lagged so badly by typing even a single character into an input box, such as the title to this support post "form history". Simply typing F caused Firefox to freeze for 60 seconds.

Please find a way to optimize firefox to be able to keep history without freaking out from large amounts of history. I dislike the newest firefox updates, now I have like 6+ firefox.exe running constantly in task manager instead of one and it didn't even slightly improve stability.  :/ All it did was delete all the best old addons.

I'd have done formatting in this post but I have no idea what these posts use for formatting such as code blocks and whatnot.

After examining the situation a bit, it seems that the cause of my severe firefox lag, is the form history sql database has over 8000 entries in it and every single character I type into the form I'm using, causes intense freezes while it scans this database. I've temporarily fixed this problem by opening the database "%\AppData\%\Mozilla\Firefox\Profiles\########.default\formhistory.sqlite" and executing this command; <pre><nowiki>DELETE FROM moz_formhistory WHERE timesUsed = 1</nowiki></pre> However, this shouldn't be needed. I am in an i7 running at 3.5GHz, and an SSD, with 32GB of RAM. I can't see why 8000 lines would be so hard for firefox to scan through with so much power available. Before I ran the command, I was being lagged so badly by typing even a single character into an input box, such as the title to this support post "form history". Simply typing F caused Firefox to freeze for 60 seconds. Please find a way to optimize firefox to be able to keep history without freaking out from large amounts of history. I dislike the newest firefox updates, now I have like 6+ firefox.exe running constantly in task manager instead of one and it didn't even slightly improve stability. :/ All it did was delete all the best old addons. I'd have done formatting in this post but I have no idea what these posts use for formatting such as code blocks and whatnot.

由 cor-el 於 修改

所有回覆 (4)

more options

Wow, I can't figure out how to edit my post to fix a mistake. Good job Mozilla.

I also can't read this website at night because its all white and its too bright, hurts my eyes badly.

more options

So apparently clearing my form history didn't help. Even if there is one item in the form history while typing into one of the input boxes tht has an item in the dropdown, I get severe lag while in the process of the dropdown appearing.

more options

Start Firefox in Safe Mode to check if one of the extensions ("3-bar" menu button or Tools -> Add-ons -> Extensions) or if hardware acceleration is causing the problem.

  • switch to the DEFAULT theme: "3-bar" menu button or Tools -> Add-ons -> Appearance
  • do NOT click the "Refresh Firefox" button on the Safe Mode start window
more options

I'll have to wait for it to start happening again. It seems to have gone away for some reason.