{"action":"closed","issue":{"url":"https://api.github.com/repos/luin/ioredis/issues/392","repository_url":"https://api.github.com/repos/luin/ioredis","labels_url":"https://api.github.com/repos/luin/ioredis/issues/392/labels{/name}","comments_url":"https://api.github.com/repos/luin/ioredis/issues/392/comments","events_url":"https://api.github.com/repos/luin/ioredis/issues/392/events","html_url":"https://github.com/luin/ioredis/issues/392","id":187273017,"number":392,"title":"大数据下pipeline() 慢并且导致内存不足","user":{"login":"subo-romens","id":13702211,"avatar_url":"https://avatars.githubusercontent.com/u/13702211?v=3","gravatar_id":"","url":"https://api.github.com/users/subo-romens","html_url":"https://github.com/subo-romens","followers_url":"https://api.github.com/users/subo-romens/followers","following_url":"https://api.github.com/users/subo-romens/following{/other_user}","gists_url":"https://api.github.com/users/subo-romens/gists{/gist_id}","starred_url":"https://api.github.com/users/subo-romens/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/subo-romens/subscriptions","organizations_url":"https://api.github.com/users/subo-romens/orgs","repos_url":"https://api.github.com/users/subo-romens/repos","events_url":"https://api.github.com/users/subo-romens/events{/privacy}","received_events_url":"https://api.github.com/users/subo-romens/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-11-04T07:57:34Z","updated_at":"2016-11-08T01:40:57Z","closed_at":"2016-11-08T01:40:57Z","body":"我需要在初始化服务时 获取大量数据代码 测试如下\r\n  var authedRedis= _redisHelper.client;\r\n         var  firstcount=5000000;\r\n         for (var i=0;i<firstcount;i++) {\r\n             authedRedis.pipeline().set('GUID:'+ i, 'bar1');\r\n\r\n         }\r\n         console.log('ioRedis set 完成');\r\n         pipeline.exec(function (err, results) {\r\n             if(err)\r\n                 throw err;\r\n             console.log('ioRedis 完成');\r\n         });\r\n大约过了10分钟提示内存不足，请问怎么处理大数据导入\r\nFATAL ERROR: Committing semi space failed. Allocation failed - process out of memory"}}
{"actor":{"display_login":"luin"}}