{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/322","labels_url":"https://api.github.com/repos/chrsmith/bwapi/issues/322/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/bwapi/issues/322/comments","events_url":"https://api.github.com/repos/chrsmith/bwapi/issues/322/events","html_url":"https://github.com/chrsmith/bwapi/issues/322","id":58481128,"number":322,"title":"(Starcraft) Memory Leak for unknown Dialog graphic object","user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Component-Logic","name":"Component-Logic","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Maintainability","name":"Maintainability","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Object-Multi","name":"Object-Multi","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Offset-hunting","name":"Offset-hunting","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Priority-Critical","name":"Priority-Critical","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Type-Defect","name":"Type-Defect","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/bwapi/labels/Usability","name":"Usability","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2015-02-21T23:57:39Z","updated_at":"2015-02-21T23:57:45Z","closed_at":null,"body":"```\nWhat steps will reproduce the problem?\n1. Trying to run a Evolutionary Computation on my bot (running in client mode \nwith CMD). \n2. Using the BWAPI.ini file to restart game (auto_menu = SINGLE_PLAYER and \nauto_restart = ON)\n3.After around 4500 games I get an error from StarCraft saying: This \napplication has encountered a critical error: Not enough storage is available \nto process this command.\n\nWhat is the expected output? What do you see instead?\nI exspected that StarCraft would continue running like my Bot. In CMD it says \n\"reconnecting\", so this part is still running. Bot StarCraft crashes with an \nerror (see enclosed files).\nI'm not sure if this is BWAPI or StarCraft that has a problem. My computer has \nover 4GB HD storage left, so it is not my HD that is out of storage. I'm not \nsure about if there is a memory leak somewhere.\n\nWhat version of the product are you using? On what operating system?\nBWAPI 3.3Beta\nbwapi-mono-bridge 3.3a\nWindows 7 x64\nStarcraft 1.16.1\n\nPlease provide any additional information below.\n\n```\n\n-----\nOriginal issue reported on code.google.com by `twsandb...@gmail.com` on 27 Nov 2010 at 8:12\n\nAttachments:\n* [2010-11-27 07.44.20 Error.txt](https://storage.googleapis.com/google-code-attachments/bwapi/issue-322/comment-0/2010-11-27 07.44.20 Error.txt)\n* [Not enough storage in StarCraft.jpg](https://storage.googleapis.com/google-code-attachments/bwapi/issue-322/comment-0/Not enough storage in StarCraft.jpg)\n"},"comment":{"url":"https://api.github.com/repos/chrsmith/bwapi/issues/comments/75402078","html_url":"https://github.com/chrsmith/bwapi/issues/322#issuecomment-75402078","issue_url":"https://api.github.com/repos/chrsmith/bwapi/issues/322","id":75402078,"user":{"login":"GoogleCodeExporter","id":9614759,"avatar_url":"https://avatars.githubusercontent.com/u/9614759?v=3","gravatar_id":"","url":"https://api.github.com/users/GoogleCodeExporter","html_url":"https://github.com/GoogleCodeExporter","followers_url":"https://api.github.com/users/GoogleCodeExporter/followers","following_url":"https://api.github.com/users/GoogleCodeExporter/following{/other_user}","gists_url":"https://api.github.com/users/GoogleCodeExporter/gists{/gist_id}","starred_url":"https://api.github.com/users/GoogleCodeExporter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GoogleCodeExporter/subscriptions","organizations_url":"https://api.github.com/users/GoogleCodeExporter/orgs","repos_url":"https://api.github.com/users/GoogleCodeExporter/repos","events_url":"https://api.github.com/users/GoogleCodeExporter/events{/privacy}","received_events_url":"https://api.github.com/users/GoogleCodeExporter/received_events","type":"User","site_admin":false},"created_at":"2015-02-21T23:57:44Z","updated_at":"2015-02-21T23:57:44Z","body":"```\nThanks for the responses.\nI added the leak dumping in r3418 for BWAPI DEBUG mode, as well as fixed a \nmemory leak that probably isn't related to the issue.\n\nI am also getting those \"leaks\" mentioned in Comment 20, most of them are \nstrings, but there are occasional data segments, and of course these ones won't \noutput the file either.\n\nMaybe we should breakpoint when the memory usage starts to become insane and \niterate all memory blocks to see where exactly something is happening. Storm \nallocations (inside Starcraft, and some used in BWAPI) will have a unique \nheader containing the file and line number, and if we can find out which header \nappears the most then we've identified our leak. If there is no header then at \nleast we know the leak is not in Starcraft or any of its related modules.\n\nI am going to try testing again to see if I can reproduce it and perform the \nabove.\n```\n\n-----\nOriginal comment by `AHeinerm` on 21 Jan 2011 at 2:29"}}