{"action":"created","issue":{"url":"https://api.github.com/repos/baedert/corebird/issues/314","repository_url":"https://api.github.com/repos/baedert/corebird","labels_url":"https://api.github.com/repos/baedert/corebird/issues/314/labels{/name}","comments_url":"https://api.github.com/repos/baedert/corebird/issues/314/comments","events_url":"https://api.github.com/repos/baedert/corebird/issues/314/events","html_url":"https://github.com/baedert/corebird/issues/314","id":58636141,"number":314,"title":"Corebird leaks memory when removing tweets from timeline view","user":{"login":"Lyude","id":1527057,"avatar_url":"https://avatars.githubusercontent.com/u/1527057?v=3","gravatar_id":"","url":"https://api.github.com/users/Lyude","html_url":"https://github.com/Lyude","followers_url":"https://api.github.com/users/Lyude/followers","following_url":"https://api.github.com/users/Lyude/following{/other_user}","gists_url":"https://api.github.com/users/Lyude/gists{/gist_id}","starred_url":"https://api.github.com/users/Lyude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Lyude/subscriptions","organizations_url":"https://api.github.com/users/Lyude/orgs","repos_url":"https://api.github.com/users/Lyude/repos","events_url":"https://api.github.com/users/Lyude/events{/privacy}","received_events_url":"https://api.github.com/users/Lyude/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":21,"created_at":"2015-02-23T19:34:53Z","updated_at":"2016-11-15T11:37:11Z","closed_at":null,"body":"Of course you know that when you scroll down in Corebird, it scrolls infinitely e.g. it loads new tweets for as long as you scroll down. When you scroll back up to the top of corebird, after a couple seconds it removes all of the tweets it loaded and only keeps a few in the timeline view. The problem here is that after it removes these tweets from the view, it doesn't actually seem to free any of the memory being used for them. I've been able to trigger huge memory leaks by just scrolling down, scrolling back up, and letting the old tweets disappear (I've gotten over 200 MB of memory usage a couple of times).\n"},"comment":{"url":"https://api.github.com/repos/baedert/corebird/issues/comments/260618955","html_url":"https://github.com/baedert/corebird/issues/314#issuecomment-260618955","issue_url":"https://api.github.com/repos/baedert/corebird/issues/314","id":260618955,"user":{"login":"kdave","id":1729844,"avatar_url":"https://avatars.githubusercontent.com/u/1729844?v=3","gravatar_id":"","url":"https://api.github.com/users/kdave","html_url":"https://github.com/kdave","followers_url":"https://api.github.com/users/kdave/followers","following_url":"https://api.github.com/users/kdave/following{/other_user}","gists_url":"https://api.github.com/users/kdave/gists{/gist_id}","starred_url":"https://api.github.com/users/kdave/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kdave/subscriptions","organizations_url":"https://api.github.com/users/kdave/orgs","repos_url":"https://api.github.com/users/kdave/repos","events_url":"https://api.github.com/users/kdave/events{/privacy}","received_events_url":"https://api.github.com/users/kdave/received_events","type":"User","site_admin":false},"created_at":"2016-11-15T11:37:11Z","updated_at":"2016-11-15T11:37:11Z","body":"I'm using a git snapshot from 20161010, memory usage is 4.5GiB after 6 days of uptime when I left the client running. I don't have sample numbers of how many tweets are there, so the observation I can make: the scrollbar is \"in the middle\", ie there are tons of read tweets but there's nothing like garbage collecting (similar to the original problem description).\r\n\r\nThere are some error messages in the output (multiple occurences):\r\n```\r\n(corebird:5542): Gtk-CRITICAL **: gtk_label_set_label: assertion 'GTK_IS_LABEL (label)' failed\r\n(process:20179): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed\r\n(corebird:5542): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to underallocate MultiMediaWidget's child MediaButton 0x810f420. Allocation is 826x1, but minimum required size is 40x530.\r\n** (corebird:5542): WARNING **: UserStream.vala:216: buf(NAME) == NULL. Starting timeout...\r\n```\r\nI'm aware there are no recommended debugging steps so far, please let me know if I can try something. I'll update from git and build with debugging and capture full log in the meantime."}}
{"actor":{"display_login":"kdave"}}