{"action":"created","issue":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1844","labels_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1844/labels{/name}","comments_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1844/comments","events_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1844/events","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1844","id":123035209,"number":1844,"title":"Memory leak on compleating boost/bimap class","user":{"login":"Fat-Zer","id":1060057,"avatar_url":"https://avatars.githubusercontent.com/u/1060057?v=3","gravatar_id":"","url":"https://api.github.com/users/Fat-Zer","html_url":"https://github.com/Fat-Zer","followers_url":"https://api.github.com/users/Fat-Zer/followers","following_url":"https://api.github.com/users/Fat-Zer/following{/other_user}","gists_url":"https://api.github.com/users/Fat-Zer/gists{/gist_id}","starred_url":"https://api.github.com/users/Fat-Zer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fat-Zer/subscriptions","organizations_url":"https://api.github.com/users/Fat-Zer/orgs","repos_url":"https://api.github.com/users/Fat-Zer/repos","events_url":"https://api.github.com/users/Fat-Zer/events{/privacy}","received_events_url":"https://api.github.com/users/Fat-Zer/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-18T22:13:50Z","updated_at":"2015-12-27T15:34:15Z","closed_at":null,"body":"The test snippet:\r\n```\r\n#include <boost/bimap.hpp>\r\n\r\nint main() {\r\n    boost::bimap< int, int > bimap;\r\n    bimap. // <type here\r\n}\r\n```\r\nWhen I type dot after bimap everything goes well, but when I type next character ycmd chews up one CPU core and all available memory in several seconds.\r\n\r\nI'm using system self-compiled (gentoo) libclang-3.7.0.\r\n\r\nAlso I'm not sure if it's a YCM issue or libclang's, so I will be glad if somebody could verify it..."},"comment":{"url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/comments/167420418","html_url":"https://github.com/Valloric/YouCompleteMe/issues/1844#issuecomment-167420418","issue_url":"https://api.github.com/repos/Valloric/YouCompleteMe/issues/1844","id":167420418,"user":{"login":"puremourning","id":10584846,"avatar_url":"https://avatars.githubusercontent.com/u/10584846?v=3","gravatar_id":"","url":"https://api.github.com/users/puremourning","html_url":"https://github.com/puremourning","followers_url":"https://api.github.com/users/puremourning/followers","following_url":"https://api.github.com/users/puremourning/following{/other_user}","gists_url":"https://api.github.com/users/puremourning/gists{/gist_id}","starred_url":"https://api.github.com/users/puremourning/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/puremourning/subscriptions","organizations_url":"https://api.github.com/users/puremourning/orgs","repos_url":"https://api.github.com/users/puremourning/repos","events_url":"https://api.github.com/users/puremourning/events{/privacy}","received_events_url":"https://api.github.com/users/puremourning/received_events","type":"User","site_admin":false},"created_at":"2015-12-27T15:34:15Z","updated_at":"2015-12-27T15:34:15Z","body":"Well, I can't reproduce the issue with cpu/mem usage, but I can confirm (with boost 1.59.0) that `bimap` instances don't offer completion suggestions from the C++ semantic completer, which does point at a libclang issue. I'll see if I can check with `c-index-test` when I'm back in civilisation."}}