{"action":"closed","issue":{"url":"https://api.github.com/repos/POSHChef/POSHChef/issues/16","labels_url":"https://api.github.com/repos/POSHChef/POSHChef/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/POSHChef/POSHChef/issues/16/comments","events_url":"https://api.github.com/repos/POSHChef/POSHChef/issues/16/events","html_url":"https://github.com/POSHChef/POSHChef/issues/16","id":57586659,"number":16,"title":"Problem with MaxEnvelopeSizeKb setting in WSMan","user":{"login":"russellseymour","id":791658,"avatar_url":"https://avatars.githubusercontent.com/u/791658?v=3","gravatar_id":"","url":"https://api.github.com/users/russellseymour","html_url":"https://github.com/russellseymour","followers_url":"https://api.github.com/users/russellseymour/followers","following_url":"https://api.github.com/users/russellseymour/following{/other_user}","gists_url":"https://api.github.com/users/russellseymour/gists{/gist_id}","starred_url":"https://api.github.com/users/russellseymour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellseymour/subscriptions","organizations_url":"https://api.github.com/users/russellseymour/orgs","repos_url":"https://api.github.com/users/russellseymour/repos","events_url":"https://api.github.com/users/russellseymour/events{/privacy}","received_events_url":"https://api.github.com/users/russellseymour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/POSHChef/POSHChef/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"russellseymour","id":791658,"avatar_url":"https://avatars.githubusercontent.com/u/791658?v=3","gravatar_id":"","url":"https://api.github.com/users/russellseymour","html_url":"https://github.com/russellseymour","followers_url":"https://api.github.com/users/russellseymour/followers","following_url":"https://api.github.com/users/russellseymour/following{/other_user}","gists_url":"https://api.github.com/users/russellseymour/gists{/gist_id}","starred_url":"https://api.github.com/users/russellseymour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/russellseymour/subscriptions","organizations_url":"https://api.github.com/users/russellseymour/orgs","repos_url":"https://api.github.com/users/russellseymour/repos","events_url":"https://api.github.com/users/russellseymour/events{/privacy}","received_events_url":"https://api.github.com/users/russellseymour/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2015-02-13T11:10:39Z","updated_at":"2015-02-13T13:40:38Z","closed_at":"2015-02-13T13:40:38Z","body":"During the development of POSHChef it was noted that the 'MaxEnvelopeSizeKb' had a direct impact on the amount of information that could be passed to DSC.  Basically the more recipes assigned to a machine the larger this setting had to be.\r\n\r\nThe POSHChef cookbook has the ability to set this value, but the default has been set to 2096.\r\n\r\nRecently I have run into problems where POSHChef stops running even though the setting has not been changed.  This points to a memory leak issue or the Mof file size getting larger or something else.\r\n\r\nTo help debug this POSHChef will have a setting added that allows existing MOF files to be archived instead of deleted.  Then the size of them can be monitored to see if they are getting bigger - which they should not be."}}