{"action":"created","issue":{"url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/503","labels_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/503/labels{/name}","comments_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/503/comments","events_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/503/events","html_url":"https://github.com/tatsuhiro-t/aria2/issues/503","id":120646886,"number":503,"title":"Memory consumption problem","user":{"login":"amirotin","id":1188502,"avatar_url":"https://avatars.githubusercontent.com/u/1188502?v=3","gravatar_id":"","url":"https://api.github.com/users/amirotin","html_url":"https://github.com/amirotin","followers_url":"https://api.github.com/users/amirotin/followers","following_url":"https://api.github.com/users/amirotin/following{/other_user}","gists_url":"https://api.github.com/users/amirotin/gists{/gist_id}","starred_url":"https://api.github.com/users/amirotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirotin/subscriptions","organizations_url":"https://api.github.com/users/amirotin/orgs","repos_url":"https://api.github.com/users/amirotin/repos","events_url":"https://api.github.com/users/amirotin/events{/privacy}","received_events_url":"https://api.github.com/users/amirotin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-06T17:25:43Z","updated_at":"2015-12-07T15:09:34Z","closed_at":null,"body":"aria2 starts using to much memory. After about 15-20 minutes memory usage grows from 21% to 44%.\r\nusing poolmon and rammap i found that `paged pool` is growing while files are seeding. when i stop/restart aria - some memory is freed.\r\n\r\nthis is poolmon at start\r\n![poolmon_start](https://cloud.githubusercontent.com/assets/1188502/11614513/4ca01e5c-9c56-11e5-90b1-f0977d68506a.jpg)\r\n\r\nrammap at start\r\n![rammap_start](https://cloud.githubusercontent.com/assets/1188502/11614514/4ca0d266-9c56-11e5-8215-faf229b92ef0.jpg)\r\n\r\nand task manager at start\r\n![taskmanager_start](https://cloud.githubusercontent.com/assets/1188502/11614515/4cb94ad0-9c56-11e5-83db-560a5b982501.jpg)\r\n\r\nand this is poolmon after 20 minutes\r\n![poolmon_end](https://cloud.githubusercontent.com/assets/1188502/11614509/4c9cc2e8-9c56-11e5-9f65-c48f326ab4fe.jpg)\r\n\r\nrammap\r\n![rammap_end](https://cloud.githubusercontent.com/assets/1188502/11614512/4c9e3592-9c56-11e5-96d9-33981b2522d7.jpg)\r\n\r\nrammap files summary\r\n![rammap_files](https://cloud.githubusercontent.com/assets/1188502/11614511/4c9e4488-9c56-11e5-8395-af703610ab09.jpg)\r\n\r\nand task manager\r\n![taskmanager_end](https://cloud.githubusercontent.com/assets/1188502/11614510/4c9d9664-9c56-11e5-8b49-17d5adcb9562.jpg)\r\n\r\n\r\nPaged pool is growing until completely occupies the entire memory.\r\nWhat i tried:\r\n1. Disabling disk cache in aria\r\n2. Disabling disk write cache in windows\r\n3. Setting PoolUsageMaximum in windows registry to 60%\r\n\r\nMaybe it's not aria related problem, but i don't know where to look for the problem."},"comment":{"url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/comments/162551126","html_url":"https://github.com/tatsuhiro-t/aria2/issues/503#issuecomment-162551126","issue_url":"https://api.github.com/repos/tatsuhiro-t/aria2/issues/503","id":162551126,"user":{"login":"amirotin","id":1188502,"avatar_url":"https://avatars.githubusercontent.com/u/1188502?v=3","gravatar_id":"","url":"https://api.github.com/users/amirotin","html_url":"https://github.com/amirotin","followers_url":"https://api.github.com/users/amirotin/followers","following_url":"https://api.github.com/users/amirotin/following{/other_user}","gists_url":"https://api.github.com/users/amirotin/gists{/gist_id}","starred_url":"https://api.github.com/users/amirotin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amirotin/subscriptions","organizations_url":"https://api.github.com/users/amirotin/orgs","repos_url":"https://api.github.com/users/amirotin/repos","events_url":"https://api.github.com/users/amirotin/events{/privacy}","received_events_url":"https://api.github.com/users/amirotin/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:09:34Z","updated_at":"2015-12-07T15:09:34Z","body":"Windows in case of memory is like a black hole. Don't know what is it doing with memory at all)) At this moment memory is used by 99%. I can't see any freeze or slowness, but this PC is used only for downloading and storing torrents. Disk activity is very very slow.\r\n\r\nAs for FILE_FLAG_NO_BUFFERING, there is only one condition that you need to meet - disk I/O requests must have sizes divisible by sector size (512 to 4096 bytes). Don't know if it is realy big work :("}}