{"action":"created","issue":{"url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/2","labels_url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/2/comments","events_url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/2/events","html_url":"https://github.com/alphagov/cf-example-ruby-sinatra/pull/2","id":111362838,"number":2,"title":"[#104182818] endpoints to consume memory","user":{"login":"keymon","id":280032,"avatar_url":"https://avatars.githubusercontent.com/u/280032?v=3","gravatar_id":"","url":"https://api.github.com/users/keymon","html_url":"https://github.com/keymon","followers_url":"https://api.github.com/users/keymon/followers","following_url":"https://api.github.com/users/keymon/following{/other_user}","gists_url":"https://api.github.com/users/keymon/gists{/gist_id}","starred_url":"https://api.github.com/users/keymon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keymon/subscriptions","organizations_url":"https://api.github.com/users/keymon/orgs","repos_url":"https://api.github.com/users/keymon/repos","events_url":"https://api.github.com/users/keymon/events{/privacy}","received_events_url":"https://api.github.com/users/keymon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mtekel","id":483891,"avatar_url":"https://avatars.githubusercontent.com/u/483891?v=3","gravatar_id":"","url":"https://api.github.com/users/mtekel","html_url":"https://github.com/mtekel","followers_url":"https://api.github.com/users/mtekel/followers","following_url":"https://api.github.com/users/mtekel/following{/other_user}","gists_url":"https://api.github.com/users/mtekel/gists{/gist_id}","starred_url":"https://api.github.com/users/mtekel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtekel/subscriptions","organizations_url":"https://api.github.com/users/mtekel/orgs","repos_url":"https://api.github.com/users/mtekel/repos","events_url":"https://api.github.com/users/mtekel/events{/privacy}","received_events_url":"https://api.github.com/users/mtekel/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-10-14T09:55:16Z","updated_at":"2015-10-14T13:50:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/pulls/2","html_url":"https://github.com/alphagov/cf-example-ruby-sinatra/pull/2","diff_url":"https://github.com/alphagov/cf-example-ruby-sinatra/pull/2.diff","patch_url":"https://github.com/alphagov/cf-example-ruby-sinatra/pull/2.patch"},"body":"[#104182818 Test an app that consumes a large amount of memory](https://www.pivotaltracker.com/n/projects/1275640/stories/104182818)\r\n\r\n# What\r\n\r\nWe want to test an app that consumes a lot of memory.\r\n\r\nThis PR adds endpoints to simulate that scenario\r\n\r\n# How to review this\r\n\r\nTest the different endpoints to see how the app consumes more memory:\r\n\r\n * `curl https://cf-example-ruby-sinatra-nonheinous-overpowerfulness.skookum.cf.paas.alphagov.co.uk/mem/alloc/100/1/1` => Allocate 1G\r\n * `curl https://cf-example-ruby-sinatra-nonheinous-overpowerfulness.skookum.cf.paas.alphagov.co.uk/mem/free` => Free memory\r\n\r\nThe app was used to carry on the tests described in [#104182818 Test an app that consumes a large amount of memory](https://www.pivotaltracker.com/n/projects/1275640/stories/104182818)\r\n\r\n\r\n# who can review this\r\n\r\nAnyone but @jimconner or @keymon"},"comment":{"url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/comments/148055310","html_url":"https://github.com/alphagov/cf-example-ruby-sinatra/pull/2#issuecomment-148055310","issue_url":"https://api.github.com/repos/alphagov/cf-example-ruby-sinatra/issues/2","id":148055310,"user":{"login":"keymon","id":280032,"avatar_url":"https://avatars.githubusercontent.com/u/280032?v=3","gravatar_id":"","url":"https://api.github.com/users/keymon","html_url":"https://github.com/keymon","followers_url":"https://api.github.com/users/keymon/followers","following_url":"https://api.github.com/users/keymon/following{/other_user}","gists_url":"https://api.github.com/users/keymon/gists{/gist_id}","starred_url":"https://api.github.com/users/keymon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keymon/subscriptions","organizations_url":"https://api.github.com/users/keymon/orgs","repos_url":"https://api.github.com/users/keymon/repos","events_url":"https://api.github.com/users/keymon/events{/privacy}","received_events_url":"https://api.github.com/users/keymon/received_events","type":"User","site_admin":false},"created_at":"2015-10-14T13:50:03Z","updated_at":"2015-10-14T13:50:03Z","body":"`/environment` was not implemented in this PR."}}