oae / gnome-shell-pano

Next-gen Clipboard Manager for Gnome Shell
https://extensions.gnome.org/extension/5278/pano/
GNU General Public License v2.0
1.04k stars 55 forks source link

Slowdown due to large size of `pano.db` #141

Open pcbowers opened 1 year ago

pcbowers commented 1 year ago

Describe the bug After using pano for several months, the pano.db reached a size of 500MB. Whenever I copied something to my clipboard, My whole computer would freeze for a bit. I checked my history size and it was set to 60 entries, but changing this did nothing. An uninstall and reinstall also did not fix the issue. Eventually, I checked the pano.db file location and noticed that it was incredibly large, especially considering my history size should have only been 60 records maximum. Deleting the database (which forced pano to recreate a new one) fixed the issue.

Expected behavior The history size would be respected and pano.db would only contain the number of records specified by the history size.

Screenshots N/A

To Reproduce

Log data Since this is a slow down rather than an actual crash, nothing of importance is being logged.