{"action":"created","issue":{"url":"https://api.github.com/repos/joakimk/toniq/issues/17","repository_url":"https://api.github.com/repos/joakimk/toniq","labels_url":"https://api.github.com/repos/joakimk/toniq/issues/17/labels{/name}","comments_url":"https://api.github.com/repos/joakimk/toniq/issues/17/comments","events_url":"https://api.github.com/repos/joakimk/toniq/issues/17/events","html_url":"https://github.com/joakimk/toniq/issues/17","id":134989335,"number":17,"title":"Big memory consumption when tasks are slow to be consumed","user":{"login":"kpanic","id":26929,"avatar_url":"https://avatars.githubusercontent.com/u/26929?v=3","gravatar_id":"","url":"https://api.github.com/users/kpanic","html_url":"https://github.com/kpanic","followers_url":"https://api.github.com/users/kpanic/followers","following_url":"https://api.github.com/users/kpanic/following{/other_user}","gists_url":"https://api.github.com/users/kpanic/gists{/gist_id}","starred_url":"https://api.github.com/users/kpanic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kpanic/subscriptions","organizations_url":"https://api.github.com/users/kpanic/orgs","repos_url":"https://api.github.com/users/kpanic/repos","events_url":"https://api.github.com/users/kpanic/events{/privacy}","received_events_url":"https://api.github.com/users/kpanic/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-19T22:16:32Z","updated_at":"2016-02-27T07:54:00Z","closed_at":null,"body":"First of all, thanks for toniq! It got me started on a project of mine.\r\n\r\nI was wondering if this line https://github.com/joakimk/toniq/blob/930f35f00a70550d00da0baee4243a5cf442c382/lib/toniq/job_concurrency_limiter.ex#L86 might be the cause for a big memory consumption when I am trying to fire a lot of tasks...\r\n\r\nWhat do you think @joakimk  ?\r\n\r\nThanks in advance!"},"comment":{"url":"https://api.github.com/repos/joakimk/toniq/issues/comments/189603202","html_url":"https://github.com/joakimk/toniq/issues/17#issuecomment-189603202","issue_url":"https://api.github.com/repos/joakimk/toniq/issues/17","id":189603202,"user":{"login":"joakimk","id":13256,"avatar_url":"https://avatars.githubusercontent.com/u/13256?v=3","gravatar_id":"","url":"https://api.github.com/users/joakimk","html_url":"https://github.com/joakimk","followers_url":"https://api.github.com/users/joakimk/followers","following_url":"https://api.github.com/users/joakimk/following{/other_user}","gists_url":"https://api.github.com/users/joakimk/gists{/gist_id}","starred_url":"https://api.github.com/users/joakimk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joakimk/subscriptions","organizations_url":"https://api.github.com/users/joakimk/orgs","repos_url":"https://api.github.com/users/joakimk/repos","events_url":"https://api.github.com/users/joakimk/events{/privacy}","received_events_url":"https://api.github.com/users/joakimk/received_events","type":"User","site_admin":false},"created_at":"2016-02-27T07:54:00Z","updated_at":"2016-02-27T07:54:00Z","body":"I'll keep this issue open in case anyone (including myself) feels like trying to fix it :)\r\n\r\nOne good first step could be to create a script, somewhat like https://github.com/joakimk/toniq/blob/master/test/benchmark.exs that can be used to see how toniq handles lots of waiting jobs."}}