{"action":"created","issue":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/980","repository_url":"https://api.github.com/repos/universal-ctags/ctags","labels_url":"https://api.github.com/repos/universal-ctags/ctags/issues/980/labels{/name}","comments_url":"https://api.github.com/repos/universal-ctags/ctags/issues/980/comments","events_url":"https://api.github.com/repos/universal-ctags/ctags/issues/980/events","html_url":"https://github.com/universal-ctags/ctags/issues/980","id":158657434,"number":980,"title":"memory leak?","user":{"login":"tarzanek","id":504773,"avatar_url":"https://avatars.githubusercontent.com/u/504773?v=3","gravatar_id":"","url":"https://api.github.com/users/tarzanek","html_url":"https://github.com/tarzanek","followers_url":"https://api.github.com/users/tarzanek/followers","following_url":"https://api.github.com/users/tarzanek/following{/other_user}","gists_url":"https://api.github.com/users/tarzanek/gists{/gist_id}","starred_url":"https://api.github.com/users/tarzanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarzanek/subscriptions","organizations_url":"https://api.github.com/users/tarzanek/orgs","repos_url":"https://api.github.com/users/tarzanek/repos","events_url":"https://api.github.com/users/tarzanek/events{/privacy}","received_events_url":"https://api.github.com/users/tarzanek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-06-06T11:35:47Z","updated_at":"2016-06-06T11:43:20Z","closed_at":null,"body":"Hi guys,\r\nwe use ctags as \"daemon\" and give it files to parse and consume its stdout, but \r\nit grows to immense sizes on sources I'd never expect that:\r\n 29478 tarzanek 8789180K 3785920K cpu1     22    0   1:04:12 13.53% ctags/1\r\n8G of mem!\r\n(3G RSS)\r\n\r\nWe basically pass on whole android sources to ctags run like this:\r\ntarzanek@XXX:/YYY/ZZZ pargs 29478\r\n29478:  /bin/exctags --c-kinds=+l --langmap=clojure:+.cljs --langmap=clojure:+.cljx --j\r\nargv[0]: /bin/exctags\r\nargv[1]: --c-kinds=+l\r\nargv[2]: --langmap=clojure:+.cljs\r\nargv[3]: --langmap=clojure:+.cljx\r\nargv[4]: --java-kinds=+l\r\nargv[5]: --sql-kinds=+l\r\nargv[6]: --Fortran-kinds=+L\r\nargv[7]: --C++-kinds=+l\r\nargv[8]: --file-scope=yes\r\nargv[9]: -u\r\nargv[10]: --filter=yes\r\nargv[11]: --filter-terminator=__ctags_done_with_file__\\n\r\nargv[12]: --fields=-anf+iKnS\r\nargv[13]: --excmd=pattern\r\nargv[14]: --langmap=sh:+.kshlib\r\nargv[15]: --langmap=sql:+.plb\r\nargv[16]: --langmap=sql:+.pls\r\nargv[17]: --langmap=sql:+.pld\r\nargv[18]: --langmap=sql:+.pks\r\nargv[19]: --langdef=scala\r\nargv[20]: --langmap=scala:.scala\r\nargv[21]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*class[[:space:]]+([a-zA-Z0-9_]+)/\\\\4/c,classes/\r\nargv[22]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*object[[:space:]]+([a-zA-Z0-9_]+)/\\\\4/c,objects/\r\nargv[23]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*case class[[:space:]]+([a-zA-Z0-9_]+)/\\\\4/c,case classes/\r\nargv[24]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*case object[[:space:]]+([a-zA-Z0-9_]+)/\\\\4/c,case objects/\r\nargv[25]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*(private|protected)?[[:space:]]*trait[[:space:]]+([a-zA-Z0-9_]+)/\\\\4/t,traits/\r\nargv[26]: --regex-scala=/^[[:space:]]*type[[:space:]]+([a-zA-Z0-9_]+)/\\\\1/T,types/\r\nargv[27]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*def[[:space:]]+([a-zA-Z0-9_]+)/\\\\3/m,methods/\r\nargv[28]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*val[[:space:]]+([a-zA-Z0-9_]+)/\\\\3/l,constants/\r\nargv[29]: --regex-scala=/^[[:space:]]*((abstract|final|sealed|implicit|lazy)[[:space:]]*)*var[[:space:]]+([a-zA-Z0-9_]+)/\\\\3/l,variables/\r\nargv[30]: --regex-scala=/^[[:space:]]*package[[:space:]]+([a-zA-Z0-9_.]+)/\\\\1/p,packages/\r\nargv[31]: --langdef=haskell\r\nargv[32]: --langmap=haskell:.hs.hsc\r\nargv[33]: --regex-haskell=/^[[:space:]]*class[[:space:]]+([a-zA-Z0-9_]+)/\\\\1/c,classes/\r\nargv[34]: --regex-haskell=/^[[:space:]]*data[[:space:]]+([a-zA-Z0-9_]+)/\\\\1/t,types/\r\nargv[35]: --regex-haskell=/^[[:space:]]*newtype[[:space:]]+([a-zA-Z0-9_]+)/\\\\1/t,types/\r\nargv[36]: --regex-haskell=/^[[:space:]]*type[[:space:]]+([a-zA-Z0-9_]+)/\\\\1/t,types/\r\nargv[37]: --regex-haskell=/^([a-zA-Z0-9_]+).*[[:space:]]+={1}[[:space:]]+/\\\\1/f,functions/\r\nargv[38]: --regex-haskell=/[[:space:]]+([a-zA-Z0-9_]+).*[[:space:]]+={1}[[:space:]]+/\\\\1/f,functions/\r\nargv[39]: --regex-haskell=/^(let|where)[[:space:]]+([a-zA-Z0-9_]+).*[[:space:]]+={1}[[:space:]]+/\\\\2/f,functions/\r\nargv[40]: --regex-haskell=/[[:space:]]+(let|where)[[:space:]]+([a-zA-Z0-9_]+).*[[:space:]]+={1}[[:space:]]+/\\\\2/f,functions/\r\n\r\nthe file which was processed was:\r\n./android/google/external/chromium_org/v8/test/cctest/gay-precision.cc\r\n(5.8MB file with lots of floats e.g. - https://android.googlesource.com/platform/external/chromium_org/v8/+/android-4.4.1_r1.0.1/test/cctest/gay-precision.cc )\r\nany clues  what is going on?\r\n\r\nversion is latest:\r\nUniversal Ctags 0.0.0(ceb9d87), Copyright (C) 2015 Universal Ctags Team\r\n\r\nThnx\r\nLubos"},"comment":{"url":"https://api.github.com/repos/universal-ctags/ctags/issues/comments/223935950","html_url":"https://github.com/universal-ctags/ctags/issues/980#issuecomment-223935950","issue_url":"https://api.github.com/repos/universal-ctags/ctags/issues/980","id":223935950,"user":{"login":"tarzanek","id":504773,"avatar_url":"https://avatars.githubusercontent.com/u/504773?v=3","gravatar_id":"","url":"https://api.github.com/users/tarzanek","html_url":"https://github.com/tarzanek","followers_url":"https://api.github.com/users/tarzanek/followers","following_url":"https://api.github.com/users/tarzanek/following{/other_user}","gists_url":"https://api.github.com/users/tarzanek/gists{/gist_id}","starred_url":"https://api.github.com/users/tarzanek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tarzanek/subscriptions","organizations_url":"https://api.github.com/users/tarzanek/orgs","repos_url":"https://api.github.com/users/tarzanek/repos","events_url":"https://api.github.com/users/tarzanek/events{/privacy}","received_events_url":"https://api.github.com/users/tarzanek/received_events","type":"User","site_admin":false},"created_at":"2016-06-06T11:43:20Z","updated_at":"2016-06-06T11:43:20Z","body":"note that ctags 5.9 just work ;)"}}
{"actor":{"display_login":"tarzanek"}}