{"action":"created","issue":{"url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/9","repository_url":"https://api.github.com/repos/greg7mdp/sparsepp","labels_url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/9/comments","events_url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/9/events","html_url":"https://github.com/greg7mdp/sparsepp/issues/9","id":178981343,"number":9,"title":"unexpected memory usage after unserialization","user":{"login":"zhaoyanswill","id":4514983,"avatar_url":"https://avatars.githubusercontent.com/u/4514983?v=3","gravatar_id":"","url":"https://api.github.com/users/zhaoyanswill","html_url":"https://github.com/zhaoyanswill","followers_url":"https://api.github.com/users/zhaoyanswill/followers","following_url":"https://api.github.com/users/zhaoyanswill/following{/other_user}","gists_url":"https://api.github.com/users/zhaoyanswill/gists{/gist_id}","starred_url":"https://api.github.com/users/zhaoyanswill/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhaoyanswill/subscriptions","organizations_url":"https://api.github.com/users/zhaoyanswill/orgs","repos_url":"https://api.github.com/users/zhaoyanswill/repos","events_url":"https://api.github.com/users/zhaoyanswill/events{/privacy}","received_events_url":"https://api.github.com/users/zhaoyanswill/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"greg7mdp","id":1496907,"avatar_url":"https://avatars.githubusercontent.com/u/1496907?v=3","gravatar_id":"","url":"https://api.github.com/users/greg7mdp","html_url":"https://github.com/greg7mdp","followers_url":"https://api.github.com/users/greg7mdp/followers","following_url":"https://api.github.com/users/greg7mdp/following{/other_user}","gists_url":"https://api.github.com/users/greg7mdp/gists{/gist_id}","starred_url":"https://api.github.com/users/greg7mdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg7mdp/subscriptions","organizations_url":"https://api.github.com/users/greg7mdp/orgs","repos_url":"https://api.github.com/users/greg7mdp/repos","events_url":"https://api.github.com/users/greg7mdp/events{/privacy}","received_events_url":"https://api.github.com/users/greg7mdp/received_events","type":"User","site_admin":false},"assignees":[{"login":"greg7mdp","id":1496907,"avatar_url":"https://avatars.githubusercontent.com/u/1496907?v=3","gravatar_id":"","url":"https://api.github.com/users/greg7mdp","html_url":"https://github.com/greg7mdp","followers_url":"https://api.github.com/users/greg7mdp/followers","following_url":"https://api.github.com/users/greg7mdp/following{/other_user}","gists_url":"https://api.github.com/users/greg7mdp/gists{/gist_id}","starred_url":"https://api.github.com/users/greg7mdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg7mdp/subscriptions","organizations_url":"https://api.github.com/users/greg7mdp/orgs","repos_url":"https://api.github.com/users/greg7mdp/repos","events_url":"https://api.github.com/users/greg7mdp/events{/privacy}","received_events_url":"https://api.github.com/users/greg7mdp/received_events","type":"User","site_admin":false}],"milestone":null,"comments":5,"created_at":"2016-09-23T21:53:07Z","updated_at":"2016-09-25T13:34:00Z","closed_at":null,"body":"Hi,\r\n\r\nsparsepp is really great!\r\n\r\nI create a <uint64_t, string> map. In my test code, about 178M <uint64_t,string> pairs are inserted into the map. And then I look-up them again. While looking up them, the memory usage is ~4.995G.\r\n\r\nAnd then I add serialization and unserialization code (copied from your example 3) between insertion and look-up part. During the serialization, the memory usage is still ~4.995G. However, after unserialization, the memory usage is ~12.024G. The serialized file is ~4.4G.\r\n\r\nDo you have any idea about this? My computing scenario is building map once and looking-up many times. Thank you!"},"comment":{"url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/comments/249422118","html_url":"https://github.com/greg7mdp/sparsepp/issues/9#issuecomment-249422118","issue_url":"https://api.github.com/repos/greg7mdp/sparsepp/issues/9","id":249422118,"user":{"login":"greg7mdp","id":1496907,"avatar_url":"https://avatars.githubusercontent.com/u/1496907?v=3","gravatar_id":"","url":"https://api.github.com/users/greg7mdp","html_url":"https://github.com/greg7mdp","followers_url":"https://api.github.com/users/greg7mdp/followers","following_url":"https://api.github.com/users/greg7mdp/following{/other_user}","gists_url":"https://api.github.com/users/greg7mdp/gists{/gist_id}","starred_url":"https://api.github.com/users/greg7mdp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/greg7mdp/subscriptions","organizations_url":"https://api.github.com/users/greg7mdp/orgs","repos_url":"https://api.github.com/users/greg7mdp/repos","events_url":"https://api.github.com/users/greg7mdp/events{/privacy}","received_events_url":"https://api.github.com/users/greg7mdp/received_events","type":"User","site_admin":false},"created_at":"2016-09-25T13:34:00Z","updated_at":"2016-09-25T13:34:00Z","body":"What is the type of mUniq?"}}
{"actor":{"display_login":"greg7mdp"}}