{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6737","repository_url":"https://api.github.com/repos/aspnet/EntityFramework","labels_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6737/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6737/comments","events_url":"https://api.github.com/repos/aspnet/EntityFramework/issues/6737/events","html_url":"https://github.com/aspnet/EntityFramework/issues/6737","id":181891593,"number":6737,"title":"Entities not being rele","user":{"login":"dkrooke","id":22728288,"avatar_url":"https://avatars.githubusercontent.com/u/22728288?v=3","gravatar_id":"","url":"https://api.github.com/users/dkrooke","html_url":"https://github.com/dkrooke","followers_url":"https://api.github.com/users/dkrooke/followers","following_url":"https://api.github.com/users/dkrooke/following{/other_user}","gists_url":"https://api.github.com/users/dkrooke/gists{/gist_id}","starred_url":"https://api.github.com/users/dkrooke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dkrooke/subscriptions","organizations_url":"https://api.github.com/users/dkrooke/orgs","repos_url":"https://api.github.com/users/dkrooke/repos","events_url":"https://api.github.com/users/dkrooke/events{/privacy}","received_events_url":"https://api.github.com/users/dkrooke/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-10-09T15:04:57Z","updated_at":"2016-10-09T15:04:57Z","closed_at":null,"body":"Apologies if this has been mentioned before:\r\n\r\nThe problem I am seeing, is that entities are still being held in memory, even after the Context has been disposed.\r\n\r\nI have tried the following:\r\n\r\nprivate void Method() {\r\n     Test();\r\n}\r\n\r\n private void Test()\r\n {\r\n            using (var Context = new ExampleEntities())\r\n            {\r\n                Context.ExampleTable.ToList();  \r\n          }\r\n}\r\n\r\nWhen you view the memory heap after the method Test has completed, ExampleTable rows are still held in memory."}}
{"actor":{"display_login":"dkrooke"}}