{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/4666","repository_url":"https://api.github.com/repos/aspnet/Mvc","labels_url":"https://api.github.com/repos/aspnet/Mvc/issues/4666/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Mvc/issues/4666/comments","events_url":"https://api.github.com/repos/aspnet/Mvc/issues/4666/events","html_url":"https://github.com/aspnet/Mvc/issues/4666","id":155469087,"number":4666,"title":"HttpPost with entity as parameter stuck in an infinite loop? (rc2-final)","user":{"login":"as14220808","id":16411778,"avatar_url":"https://avatars.githubusercontent.com/u/16411778?v=3","gravatar_id":"","url":"https://api.github.com/users/as14220808","html_url":"https://github.com/as14220808","followers_url":"https://api.github.com/users/as14220808/followers","following_url":"https://api.github.com/users/as14220808/following{/other_user}","gists_url":"https://api.github.com/users/as14220808/gists{/gist_id}","starred_url":"https://api.github.com/users/as14220808/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/as14220808/subscriptions","organizations_url":"https://api.github.com/users/as14220808/orgs","repos_url":"https://api.github.com/users/as14220808/repos","events_url":"https://api.github.com/users/as14220808/events{/privacy}","received_events_url":"https://api.github.com/users/as14220808/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-05-18T10:36:37Z","updated_at":"2016-05-18T12:23:25Z","closed_at":null,"body":"Consider a call to a simple post action like this\r\n\r\n        [HttpPost]\r\n        public async Task<IActionResult> Create(Organization data)\r\n        {\r\n            return NotFound();\r\n        }\r\n\r\nThe call is unsuccessful and cause memory consumption go up wildly (1 GB every 30 second) and it never stop and consume all my memory.\r\n\r\nIt looks like the call is stuck in an infinite loop of some sort.\r\n\r\nAfter some experiment, I found out that only classes that I use in DbContext cause this infinite loop. Swapping \"Organization\" (which is a class I used in DbContext) with other class like the one I used as viewmodel dose not cause this.\r\n\r\nI'm not sure what I did wrong because in rc1 everything works just fine.\r\n\r\n![untitled](https://cloud.githubusercontent.com/assets/16411778/15355627/1b3cda46-1d1e-11e6-836e-b0e13c7f09d7.png)\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aspnet/Mvc/issues/comments/220009956","html_url":"https://github.com/aspnet/Mvc/issues/4666#issuecomment-220009956","issue_url":"https://api.github.com/repos/aspnet/Mvc/issues/4666","id":220009956,"user":{"login":"xrkolovos","id":517802,"avatar_url":"https://avatars.githubusercontent.com/u/517802?v=3","gravatar_id":"","url":"https://api.github.com/users/xrkolovos","html_url":"https://github.com/xrkolovos","followers_url":"https://api.github.com/users/xrkolovos/followers","following_url":"https://api.github.com/users/xrkolovos/following{/other_user}","gists_url":"https://api.github.com/users/xrkolovos/gists{/gist_id}","starred_url":"https://api.github.com/users/xrkolovos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xrkolovos/subscriptions","organizations_url":"https://api.github.com/users/xrkolovos/orgs","repos_url":"https://api.github.com/users/xrkolovos/repos","events_url":"https://api.github.com/users/xrkolovos/events{/privacy}","received_events_url":"https://api.github.com/users/xrkolovos/received_events","type":"User","site_admin":false},"created_at":"2016-05-18T12:23:25Z","updated_at":"2016-05-18T12:23:25Z","body":"after installing the rc2 stuff, can we continue developing in rc1?"}}