{"action":"created","issue":{"url":"https://api.github.com/repos/bflad/chef-stash/issues/84","labels_url":"https://api.github.com/repos/bflad/chef-stash/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/bflad/chef-stash/issues/84/comments","events_url":"https://api.github.com/repos/bflad/chef-stash/issues/84/events","html_url":"https://github.com/bflad/chef-stash/issues/84","id":70578569,"number":84,"title":"Stash Crashes Due to java.lang.OutOfMemoryError PermGen Space Error","user":{"login":"linc01n","id":667272,"avatar_url":"https://avatars.githubusercontent.com/u/667272?v=3","gravatar_id":"","url":"https://api.github.com/users/linc01n","html_url":"https://github.com/linc01n","followers_url":"https://api.github.com/users/linc01n/followers","following_url":"https://api.github.com/users/linc01n/following{/other_user}","gists_url":"https://api.github.com/users/linc01n/gists{/gist_id}","starred_url":"https://api.github.com/users/linc01n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linc01n/subscriptions","organizations_url":"https://api.github.com/users/linc01n/orgs","repos_url":"https://api.github.com/users/linc01n/repos","events_url":"https://api.github.com/users/linc01n/events{/privacy}","received_events_url":"https://api.github.com/users/linc01n/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bflad/chef-stash/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-24T03:54:20Z","updated_at":"2015-06-17T20:26:54Z","closed_at":null,"body":"I have this issue twice after I upgraded my Stash to 3.8.0 4 days ago. The solution is to increase\r\n\r\n```ruby\r\ndefault['stash']['jvm']['maximum_permgen'] = '256m'\r\n```\r\n\r\nI am still testing how many ram should I increase\r\n\r\nFrom Stash Knowledge base:\r\n> If you're experiencing this issue after upgrading to Stash 3.8+ and are using Java 7, it's likely that the setenv.sh (setenv.bat for Windows) was copied from a previous version. \r\n\r\n![screen shot 2015-04-24 at 11 43 32 am](https://cloud.githubusercontent.com/assets/667272/7312015/2b8bbe2e-ea77-11e4-917f-cba5a03882ff.png)\r\n\r\nsource: https://confluence.atlassian.com/display/STASHKB/Stash+Crashes+Due+to+java.lang.OutOfMemoryError+PermGen+Space+Error"},"comment":{"url":"https://api.github.com/repos/bflad/chef-stash/issues/comments/112939624","html_url":"https://github.com/bflad/chef-stash/issues/84#issuecomment-112939624","issue_url":"https://api.github.com/repos/bflad/chef-stash/issues/84","id":112939624,"user":{"login":"mrjcleaver","id":59202,"avatar_url":"https://avatars.githubusercontent.com/u/59202?v=3","gravatar_id":"","url":"https://api.github.com/users/mrjcleaver","html_url":"https://github.com/mrjcleaver","followers_url":"https://api.github.com/users/mrjcleaver/followers","following_url":"https://api.github.com/users/mrjcleaver/following{/other_user}","gists_url":"https://api.github.com/users/mrjcleaver/gists{/gist_id}","starred_url":"https://api.github.com/users/mrjcleaver/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mrjcleaver/subscriptions","organizations_url":"https://api.github.com/users/mrjcleaver/orgs","repos_url":"https://api.github.com/users/mrjcleaver/repos","events_url":"https://api.github.com/users/mrjcleaver/events{/privacy}","received_events_url":"https://api.github.com/users/mrjcleaver/received_events","type":"User","site_admin":false},"created_at":"2015-06-17T20:26:54Z","updated_at":"2015-06-17T20:26:54Z","body":"Sounds good to me :)"}}