{"action":"created","issue":{"url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/54","repository_url":"https://api.github.com/repos/bluepill-rb/bluepill","labels_url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/54/comments","events_url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/54/events","html_url":"https://github.com/bluepill-rb/bluepill/issues/54","id":309515394,"number":54,"title":":mem_usage ignored","user":{"login":"gdonald","id":13016,"avatar_url":"https://avatars3.githubusercontent.com/u/13016?v=4","gravatar_id":"","url":"https://api.github.com/users/gdonald","html_url":"https://github.com/gdonald","followers_url":"https://api.github.com/users/gdonald/followers","following_url":"https://api.github.com/users/gdonald/following{/other_user}","gists_url":"https://api.github.com/users/gdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/gdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdonald/subscriptions","organizations_url":"https://api.github.com/users/gdonald/orgs","repos_url":"https://api.github.com/users/gdonald/repos","events_url":"https://api.github.com/users/gdonald/events{/privacy}","received_events_url":"https://api.github.com/users/gdonald/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-03-28T20:16:07Z","updated_at":"2018-03-29T17:15:47Z","closed_at":null,"author_association":"NONE","body":"If I have a start_command such as:\r\n\r\n```\r\n#!/usr/bin/env ruby\r\nclass Job\r\n  def run\r\n    a = []\r\n    while true; a << 'x' * 1024; end\r\n  end\r\nend\r\n\r\nj = Job.new\r\nj.run\r\n```\r\n\r\nThe check I have configured never kills it:\r\n\r\n```\r\nprocess.start_command = './job.rb'\r\nprocess.checks :mem_usage, below: 20.megabytes, every: 5.seconds, times: 3\r\n```\r\n\r\nThe process grows until I kill it manually, well past the 20MB limit I set.  Using the :include_children option had no effect.\r\n\r\nI have this same issue on Mac OS and Linux."},"comment":{"url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/comments/377307268","html_url":"https://github.com/bluepill-rb/bluepill/issues/54#issuecomment-377307268","issue_url":"https://api.github.com/repos/bluepill-rb/bluepill/issues/54","id":377307268,"user":{"login":"gdonald","id":13016,"avatar_url":"https://avatars3.githubusercontent.com/u/13016?v=4","gravatar_id":"","url":"https://api.github.com/users/gdonald","html_url":"https://github.com/gdonald","followers_url":"https://api.github.com/users/gdonald/followers","following_url":"https://api.github.com/users/gdonald/following{/other_user}","gists_url":"https://api.github.com/users/gdonald/gists{/gist_id}","starred_url":"https://api.github.com/users/gdonald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdonald/subscriptions","organizations_url":"https://api.github.com/users/gdonald/orgs","repos_url":"https://api.github.com/users/gdonald/repos","events_url":"https://api.github.com/users/gdonald/events{/privacy}","received_events_url":"https://api.github.com/users/gdonald/received_events","type":"User","site_admin":false},"created_at":"2018-03-29T17:15:47Z","updated_at":"2018-03-29T17:15:47Z","author_association":"NONE","body":"I just spent a couple of hours testing the 0.0.66 version from 2013.  I get the exact same behavior.  I set a limit of 25 MBs and then I see the process continue to grow well past that limit.  Ten minutes later the memory usage is past a GB and bluepill still hasn't killed it."}}
{"actor":{"display_login":"gdonald"}}