{"action":"created","issue":{"url":"https://api.github.com/repos/sj26/mailcatcher/issues/210","labels_url":"https://api.github.com/repos/sj26/mailcatcher/issues/210/labels{/name}","comments_url":"https://api.github.com/repos/sj26/mailcatcher/issues/210/comments","events_url":"https://api.github.com/repos/sj26/mailcatcher/issues/210/events","html_url":"https://github.com/sj26/mailcatcher/issues/210","id":59961422,"number":210,"title":"Memory leak","user":{"login":"datamuc","id":51400,"avatar_url":"https://avatars.githubusercontent.com/u/51400?v=3","gravatar_id":"","url":"https://api.github.com/users/datamuc","html_url":"https://github.com/datamuc","followers_url":"https://api.github.com/users/datamuc/followers","following_url":"https://api.github.com/users/datamuc/following{/other_user}","gists_url":"https://api.github.com/users/datamuc/gists{/gist_id}","starred_url":"https://api.github.com/users/datamuc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/datamuc/subscriptions","organizations_url":"https://api.github.com/users/datamuc/orgs","repos_url":"https://api.github.com/users/datamuc/repos","events_url":"https://api.github.com/users/datamuc/events{/privacy}","received_events_url":"https://api.github.com/users/datamuc/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2015-03-05T14:48:49Z","updated_at":"2015-06-29T14:37:18Z","closed_at":null,"body":"Hi,\r\n\r\nit seams that mailcatcher leaks a lot of memory. I've started it, and just reloading the page (without any mails in it) adds about 500kB to the process size:\r\n\r\n    $ sv restart ./service/mailcatcher\r\n    ok: run: ./service/mailcatcher: (pid 22424) 0s\r\n    $ ps auxww | grep [m]ailcatcher # after each reload\r\n    danielt  22424 33.3  4.5 135972 47032 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424 15.0  4.8 140292 49736 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  9.8  4.8 140700 49980 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  7.7  4.9 141268 50508 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  6.5  4.9 141700 51036 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  5.1  5.0 142260 51564 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  4.4  5.0 142676 52092 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  4.0  5.1 143220 52620 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n    danielt  22424  3.7  5.1 143780 53124 ?        Sl   15:44   0:01 /home/danielt/.rvm/rubies/ruby-2.1.0/bin/ruby /home/danielt/.rvm/gems/ruby-2.1.0/bin/mailcatcher --foreground --smtp-ip 0.0.0.0 --http-port 4080\r\n\r\nAs you can see something around 500kB is added after each request to the RSS.\r\n"},"comment":{"url":"https://api.github.com/repos/sj26/mailcatcher/issues/comments/116707724","html_url":"https://github.com/sj26/mailcatcher/issues/210#issuecomment-116707724","issue_url":"https://api.github.com/repos/sj26/mailcatcher/issues/210","id":116707724,"user":{"login":"DrRoach","id":5173524,"avatar_url":"https://avatars.githubusercontent.com/u/5173524?v=3","gravatar_id":"","url":"https://api.github.com/users/DrRoach","html_url":"https://github.com/DrRoach","followers_url":"https://api.github.com/users/DrRoach/followers","following_url":"https://api.github.com/users/DrRoach/following{/other_user}","gists_url":"https://api.github.com/users/DrRoach/gists{/gist_id}","starred_url":"https://api.github.com/users/DrRoach/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DrRoach/subscriptions","organizations_url":"https://api.github.com/users/DrRoach/orgs","repos_url":"https://api.github.com/users/DrRoach/repos","events_url":"https://api.github.com/users/DrRoach/events{/privacy}","received_events_url":"https://api.github.com/users/DrRoach/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T14:37:18Z","updated_at":"2015-06-29T14:37:18Z","body":"@shakycode Unfortunately I don't know ruby so I can't provide any in code info all I can offer are the images that I posted further up that showed mailcatcher using 42% of a 2GB servers' memory after an hour."}}