{"action":"created","issue":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3712","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3712/labels{/name}","comments_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3712/comments","events_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3712/events","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3712","id":56300068,"number":3712,"title":"Large Memory Consumption on OSX - Yosemite 10.10.2 ","user":{"login":"marchon","id":238496,"avatar_url":"https://avatars.githubusercontent.com/u/238496?v=3","gravatar_id":"","url":"https://api.github.com/users/marchon","html_url":"https://github.com/marchon","followers_url":"https://api.github.com/users/marchon/followers","following_url":"https://api.github.com/users/marchon/following{/other_user}","gists_url":"https://api.github.com/users/marchon/gists{/gist_id}","starred_url":"https://api.github.com/users/marchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marchon/subscriptions","organizations_url":"https://api.github.com/users/marchon/orgs","repos_url":"https://api.github.com/users/marchon/repos","events_url":"https://api.github.com/users/marchon/events{/privacy}","received_events_url":"https://api.github.com/users/marchon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90","labels_url":"https://api.github.com/repos/rethinkdb/rethinkdb/milestones/90/labels","id":956694,"number":90,"title":"1.16.x","description":"","creator":{"login":"coffeemug","id":48436,"avatar_url":"https://avatars.githubusercontent.com/u/48436?v=3","gravatar_id":"","url":"https://api.github.com/users/coffeemug","html_url":"https://github.com/coffeemug","followers_url":"https://api.github.com/users/coffeemug/followers","following_url":"https://api.github.com/users/coffeemug/following{/other_user}","gists_url":"https://api.github.com/users/coffeemug/gists{/gist_id}","starred_url":"https://api.github.com/users/coffeemug/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coffeemug/subscriptions","organizations_url":"https://api.github.com/users/coffeemug/orgs","repos_url":"https://api.github.com/users/coffeemug/repos","events_url":"https://api.github.com/users/coffeemug/events{/privacy}","received_events_url":"https://api.github.com/users/coffeemug/received_events","type":"User","site_admin":false},"open_issues":25,"closed_issues":6,"state":"open","created_at":"2015-01-29T12:41:25Z","updated_at":"2015-02-04T03:50:08Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2015-02-02T22:03:13Z","updated_at":"2015-02-04T16:41:31Z","closed_at":null,"body":"https://cloudup.com/iDdsKmsLXWB\r\n\r\nAttached is a screenshot of rethinkdb consuming all of my available ram and slowing my machine down to the point that I could barely type in a terminal window.\r\n\r\nMy database was a mere 6,000,000 records with 4 fields each. It was a small sample of that I was hoping to accomplish with rethinkdb.\r\n.\r\nI will admit is seems like a great idea, but there are probably some issues with memory usage that need to be addressed."},"comment":{"url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/comments/72889112","html_url":"https://github.com/rethinkdb/rethinkdb/issues/3712#issuecomment-72889112","issue_url":"https://api.github.com/repos/rethinkdb/rethinkdb/issues/3712","id":72889112,"user":{"login":"marchon","id":238496,"avatar_url":"https://avatars.githubusercontent.com/u/238496?v=3","gravatar_id":"","url":"https://api.github.com/users/marchon","html_url":"https://github.com/marchon","followers_url":"https://api.github.com/users/marchon/followers","following_url":"https://api.github.com/users/marchon/following{/other_user}","gists_url":"https://api.github.com/users/marchon/gists{/gist_id}","starred_url":"https://api.github.com/users/marchon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/marchon/subscriptions","organizations_url":"https://api.github.com/users/marchon/orgs","repos_url":"https://api.github.com/users/marchon/repos","events_url":"https://api.github.com/users/marchon/events{/privacy}","received_events_url":"https://api.github.com/users/marchon/received_events","type":"User","site_admin":false},"created_at":"2015-02-04T16:41:31Z","updated_at":"2015-02-04T16:41:31Z","body":"I offered this help in the interest of advancing your project which looks\nlike it has promise.\n\nThese changes are not going to have a direct positive result for me, as I\nneeded an immediate solution and thought that I should consider your\nsolution as an alternative to mongodb.\n\nThank you for keeping me up to date and good luck with your project.\n\nG.\n\nOn Tue, Feb 3, 2015 at 5:37 PM, Daniel Mewes <notifications@github.com>\nwrote:\n\n> @marchon <https://github.com/marchon> I think the memory issue might have\n> to do with the secondary index construction that was going on at the same\n> time as the inserts.\n>\n> If you want to give it another shot, I recommend one of these work-arounds:\n>\n>    - Create all indexes first, wait until they are ready, then start\n>    inserting data\n>    - First insert all data, then create the indexes\n>\n> We're working on rewriting how secondary indexes are constructed (see\n> #2134 <https://github.com/rethinkdb/rethinkdb/issues/2134>) because of\n> issues like this, but the new implementation will likely take a few months\n> before it's ready and sufficiently tested for shipping.\n>\n> Another problem with the current index construction implementation is that\n> it can sometimes slow other queries down significantly (e.g. #1955\n> <https://github.com/rethinkdb/rethinkdb/issues/1955>). This is also going\n> to be solved with #2134\n> <https://github.com/rethinkdb/rethinkdb/issues/2134>, but still exists as\n> of now.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/rethinkdb/rethinkdb/issues/3712#issuecomment-72750897>\n> .\n>\n\n\n\n-- \nP THINK BEFORE PRINTING: is it really necessary?\n\nThis e-mail and its attachments are confidential and solely for the\nintended addressee(s). Do not share or use them without approval. If\nreceived in error, contact the sender\nand delete them.\n"}}