{"action":"created","issue":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1498","labels_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1498/labels{/name}","comments_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1498/comments","events_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1498/events","html_url":"https://github.com/akkadotnet/akka.net/issues/1498","id":120338433,"number":1498,"title":"TestKit memory leak","user":{"login":"rogeralsing","id":647031,"avatar_url":"https://avatars.githubusercontent.com/u/647031?v=3","gravatar_id":"","url":"https://api.github.com/users/rogeralsing","html_url":"https://github.com/rogeralsing","followers_url":"https://api.github.com/users/rogeralsing/followers","following_url":"https://api.github.com/users/rogeralsing/following{/other_user}","gists_url":"https://api.github.com/users/rogeralsing/gists{/gist_id}","starred_url":"https://api.github.com/users/rogeralsing/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rogeralsing/subscriptions","organizations_url":"https://api.github.com/users/rogeralsing/orgs","repos_url":"https://api.github.com/users/rogeralsing/repos","events_url":"https://api.github.com/users/rogeralsing/events{/privacy}","received_events_url":"https://api.github.com/users/rogeralsing/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/akkadotnet/akka.net/labels/help%20wanted","name":"help wanted","color":"fbca04"},{"url":"https://api.github.com/repos/akkadotnet/akka.net/labels/tests","name":"tests","color":"009800"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":11,"created_at":"2015-12-04T05:56:25Z","updated_at":"2015-12-20T20:36:03Z","closed_at":null,"body":"When running the tests for the Akka.NET project, there are often a handful of tests that fail with out of memory exception.\r\n\r\nI have investigated this a bit further and the problem is not in the failing tests, but rather somewhere in the ActorSystem or TestKit.\r\n\r\nEach tests will leak a little bit of memory until the last tests eventually go OOM.\r\nI have verified this by adding a memory check into the before test setup in testkit, that throws if the memory is above a certain threshold.\r\ndepending on the threshold, one can see that the x first tests pass, and everything after that starts to fail.\r\n\r\nWe need to find what is eating memory for each test that runs.\r\nI'm currently out of ideas myself on how to mem profile the testkit.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/akkadotnet/akka.net/issues/comments/166152390","html_url":"https://github.com/akkadotnet/akka.net/issues/1498#issuecomment-166152390","issue_url":"https://api.github.com/repos/akkadotnet/akka.net/issues/1498","id":166152390,"user":{"login":"bradwilson","id":16944,"avatar_url":"https://avatars.githubusercontent.com/u/16944?v=3","gravatar_id":"","url":"https://api.github.com/users/bradwilson","html_url":"https://github.com/bradwilson","followers_url":"https://api.github.com/users/bradwilson/followers","following_url":"https://api.github.com/users/bradwilson/following{/other_user}","gists_url":"https://api.github.com/users/bradwilson/gists{/gist_id}","starred_url":"https://api.github.com/users/bradwilson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bradwilson/subscriptions","organizations_url":"https://api.github.com/users/bradwilson/orgs","repos_url":"https://api.github.com/users/bradwilson/repos","events_url":"https://api.github.com/users/bradwilson/events{/privacy}","received_events_url":"https://api.github.com/users/bradwilson/received_events","type":"User","site_admin":false},"created_at":"2015-12-20T20:36:03Z","updated_at":"2015-12-20T20:36:03Z","body":"This is https://github.com/xunit/xunit/issues/662"}}