{"action":"opened","issue":{"url":"https://api.github.com/repos/crystal-lang/crystal/issues/4012","repository_url":"https://api.github.com/repos/crystal-lang/crystal","labels_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4012/labels{/name}","comments_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4012/comments","events_url":"https://api.github.com/repos/crystal-lang/crystal/issues/4012/events","html_url":"https://github.com/crystal-lang/crystal/issues/4012","id":206230599,"number":4012,"title":"Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS on extending.","user":{"login":"idchlife","id":4563032,"avatar_url":"https://avatars.githubusercontent.com/u/4563032?v=3","gravatar_id":"","url":"https://api.github.com/users/idchlife","html_url":"https://github.com/idchlife","followers_url":"https://api.github.com/users/idchlife/followers","following_url":"https://api.github.com/users/idchlife/following{/other_user}","gists_url":"https://api.github.com/users/idchlife/gists{/gist_id}","starred_url":"https://api.github.com/users/idchlife/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/idchlife/subscriptions","organizations_url":"https://api.github.com/users/idchlife/orgs","repos_url":"https://api.github.com/users/idchlife/repos","events_url":"https://api.github.com/users/idchlife/events{/privacy}","received_events_url":"https://api.github.com/users/idchlife/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-08T15:28:25Z","updated_at":"2017-02-08T15:28:25Z","closed_at":null,"body":"I was trying to create error that calls initialize of basic Exception (and extending it) class with one parameter.\r\nI wanted to construct error message inside my custom exception and pass it to basic Exception class.\r\nI got:\r\n\r\n    Too many heap sections: Increase MAXHINCR or MAX_HEAP_SECTS\r\n\r\nAnd execution timeout of course in browser.\r\n\r\nHere is the code that activates this issue:\r\n\r\n    class CustomError < Exception\r\n      def initialize(@param : String)\r\n        initialize \"You are not allowed to pass this custom param: #{@param}\"\r\n      end\r\n    end\r\n\r\n    raise CustomError.new \"important_field\""}}
{"actor":{"display_login":"idchlife"}}