{"action":"created","issue":{"url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/8","labels_url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/8/comments","events_url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/8/events","html_url":"https://github.com/titoBouzout/BufferScroll/issues/8","id":17581262,"number":8,"title":"Large Database file causes slow on_deactivated callback","user":{"login":"forivall","id":760204,"avatar_url":"https://avatars.githubusercontent.com/u/760204?v=3","gravatar_id":"","url":"https://api.github.com/users/forivall","html_url":"https://github.com/forivall","followers_url":"https://api.github.com/users/forivall/followers","following_url":"https://api.github.com/users/forivall/following{/other_user}","gists_url":"https://api.github.com/users/forivall/gists{/gist_id}","starred_url":"https://api.github.com/users/forivall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/forivall/subscriptions","organizations_url":"https://api.github.com/users/forivall/orgs","repos_url":"https://api.github.com/users/forivall/repos","events_url":"https://api.github.com/users/forivall/events{/privacy}","received_events_url":"https://api.github.com/users/forivall/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":13,"created_at":"2013-08-02T20:59:34Z","updated_at":"2015-01-10T15:30:04Z","closed_at":null,"body":"I recently had to track down that this plugin was making ST2 slow, because I had a large history of files. Ideally, the history should be pruned every once in awhile, or be kept at a maximum number of files.\r\n\r\nMy database file was 246KB gzipped, 787KB unzipped.\r\n\r\nCurrent workaround is to remove the old database, but that loses all history."},"comment":{"url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/comments/69459529","html_url":"https://github.com/titoBouzout/BufferScroll/issues/8#issuecomment-69459529","issue_url":"https://api.github.com/repos/titoBouzout/BufferScroll/issues/8","id":69459529,"user":{"login":"q3xq3r","id":10289854,"avatar_url":"https://avatars.githubusercontent.com/u/10289854?v=3","gravatar_id":"","url":"https://api.github.com/users/q3xq3r","html_url":"https://github.com/q3xq3r","followers_url":"https://api.github.com/users/q3xq3r/followers","following_url":"https://api.github.com/users/q3xq3r/following{/other_user}","gists_url":"https://api.github.com/users/q3xq3r/gists{/gist_id}","starred_url":"https://api.github.com/users/q3xq3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q3xq3r/subscriptions","organizations_url":"https://api.github.com/users/q3xq3r/orgs","repos_url":"https://api.github.com/users/q3xq3r/repos","events_url":"https://api.github.com/users/q3xq3r/events{/privacy}","received_events_url":"https://api.github.com/users/q3xq3r/received_events","type":"User","site_admin":false},"created_at":"2015-01-10T15:30:04Z","updated_at":"2015-01-10T15:30:04Z","body":"Here's what I came up with:\r\npull request #14 'limit database size using OrderedDict'"}}