{"action":"created","issue":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/33","labels_url":"https://api.github.com/repos/chrsmith/codesearch/issues/33/labels{/name}","comments_url":"https://api.github.com/repos/chrsmith/codesearch/issues/33/comments","events_url":"https://api.github.com/repos/chrsmith/codesearch/issues/33/events","html_url":"https://github.com/chrsmith/codesearch/issues/33","id":57504839,"number":33,"title":"cindex needs vast amounts of temporary space","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/codesearch/labels/auto-migrated","name":"auto-migrated","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Priority-Medium","name":"Priority-Medium","color":"ededed"},{"url":"https://api.github.com/repos/chrsmith/codesearch/labels/Type-Defect","name":"Type-Defect","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T19:09:23Z","updated_at":"2015-02-12T19:09:23Z","closed_at":null,"body":"```\n1. Run cindex on about 9 GiB of files (where about half of them are text files)\n2. Observe space usage of cindex\n\nWhat is the expected output?\n\ncindex takes a reasonable amount of temporary space and provides an option to \nspecify an alternative place to store temporary files.\n\nWhat do you see instead?\n\ncindex eats up to 5 GiB of space on /tmp while generating a 600 MiB \n.csearchindex file.\n\nWhat version of the product are you using? On what operating system?\n\ntip on Linux with go tip\n\nPlease provide any additional information below.\n\nIt would be nice if cindex could provide an option to change the temporary \ndirectory as /tmp might not be large enough. Additionally, it might be possible \nto lower the space usage of cindex, for instance, it might be possible to merge \n(and therefore compress) temporary indices before processing the next set of \nfiles.\n```\n\n-----\nOriginal issue reported on code.google.com by fuz...@gmail.com on 23 Sep 2013 at 1:23"},"comment":{"url":"https://api.github.com/repos/chrsmith/codesearch/issues/comments/74131919","html_url":"https://github.com/chrsmith/codesearch/issues/33#issuecomment-74131919","issue_url":"https://api.github.com/repos/chrsmith/codesearch/issues/33","id":74131919,"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-12T19:09:23Z","updated_at":"2015-02-12T19:09:23Z","body":"```\nYou can set the $TMPDIR environment variable before running cindex to store the \ntemporary files somewhere else.\n```\n\n-----\nOriginal comment by dgryski on 24 Sep 2013 at 7:21"}}