{"action":"created","issue":{"url":"https://api.github.com/repos/cppit/jucipp/issues/248","repository_url":"https://api.github.com/repos/cppit/jucipp","labels_url":"https://api.github.com/repos/cppit/jucipp/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/cppit/jucipp/issues/248/comments","events_url":"https://api.github.com/repos/cppit/jucipp/issues/248/events","html_url":"https://github.com/cppit/jucipp/issues/248","id":161361337,"number":248,"title":"High memory usage","user":{"login":"ff2000","id":1973708,"avatar_url":"https://avatars.githubusercontent.com/u/1973708?v=3","gravatar_id":"","url":"https://api.github.com/users/ff2000","html_url":"https://github.com/ff2000","followers_url":"https://api.github.com/users/ff2000/followers","following_url":"https://api.github.com/users/ff2000/following{/other_user}","gists_url":"https://api.github.com/users/ff2000/gists{/gist_id}","starred_url":"https://api.github.com/users/ff2000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ff2000/subscriptions","organizations_url":"https://api.github.com/users/ff2000/orgs","repos_url":"https://api.github.com/users/ff2000/repos","events_url":"https://api.github.com/users/ff2000/events{/privacy}","received_events_url":"https://api.github.com/users/ff2000/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2016-06-21T06:50:11Z","updated_at":"2016-06-21T09:38:02Z","closed_at":null,"body":"... mostly for applications using gtk ... because of the really great idea to forbid inclusion of selected headers but instead require to include full gtk.h. This IMHO gets worse with gtkmm...\r\nFor me this means that I can open 3-4 files in juci to fill half of my 4GB of RAM. Starting to edit those files adds some more MB. Compiling will then initiate swapping (and make my laptop unusable for some minutes)\r\n\r\nI did the test with with three programs that use gtkmm, all show similar behaviour. I then tested with programs using Qt and I can open dozens of files to get a similar RAM usage.\r\n\r\nCan juci do something about that? Or am I stuck here? I would have liked to start contributing, but not being able to use juci to code juci is somewhat... weird...\r\n\r\n(Sidenote: YCM is even worse, for me it uses about 30% more memory. QtCreator (with clang backend) used 80% of RAM with the second file I opened. So juci already does fairly well :))"},"comment":{"url":"https://api.github.com/repos/cppit/jucipp/issues/comments/227390273","html_url":"https://github.com/cppit/jucipp/issues/248#issuecomment-227390273","issue_url":"https://api.github.com/repos/cppit/jucipp/issues/248","id":227390273,"user":{"login":"eidheim","id":5269318,"avatar_url":"https://avatars.githubusercontent.com/u/5269318?v=3","gravatar_id":"","url":"https://api.github.com/users/eidheim","html_url":"https://github.com/eidheim","followers_url":"https://api.github.com/users/eidheim/followers","following_url":"https://api.github.com/users/eidheim/following{/other_user}","gists_url":"https://api.github.com/users/eidheim/gists{/gist_id}","starred_url":"https://api.github.com/users/eidheim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/eidheim/subscriptions","organizations_url":"https://api.github.com/users/eidheim/orgs","repos_url":"https://api.github.com/users/eidheim/repos","events_url":"https://api.github.com/users/eidheim/events{/privacy}","received_events_url":"https://api.github.com/users/eidheim/received_events","type":"User","site_admin":false},"created_at":"2016-06-21T09:38:02Z","updated_at":"2016-06-21T09:38:02Z","body":"Your llvm version is very new, but you gcc version is quite old! This should not affect the result though:)\r\n\r\nOpening the same 8 files gave me these results on Debian Testing:\r\nlibclang 3.6: 1.9GiB\r\nlibclang 3.7: 1.9GiB\r\nlibclang 3.8: 1.8GiB\r\n\r\nNot sure why there is such a huge difference between OS X and Linux, but on OS X I use standard headers which does not include doxygen comments for instance, and of course, juCi++ is compiled with clang++ on OS X instead of g++ (on Linux). I tried turn off saving the doxygen comments in system headers, but it made no difference. I know g++ is faster than clang++, but I do not know if there are differences in memory consumption. "}}
{"actor":{"display_login":"eidheim"}}