{"action":"created","issue":{"url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/2","labels_url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/2/comments","events_url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/2/events","html_url":"https://github.com/quixdb/squash-benchmark/issues/2","id":65240280,"number":2,"title":"Add memory usage information","user":{"login":"nemequ","id":1151,"avatar_url":"https://avatars.githubusercontent.com/u/1151?v=3","gravatar_id":"","url":"https://api.github.com/users/nemequ","html_url":"https://github.com/nemequ","followers_url":"https://api.github.com/users/nemequ/followers","following_url":"https://api.github.com/users/nemequ/following{/other_user}","gists_url":"https://api.github.com/users/nemequ/gists{/gist_id}","starred_url":"https://api.github.com/users/nemequ/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nemequ/subscriptions","organizations_url":"https://api.github.com/users/nemequ/orgs","repos_url":"https://api.github.com/users/nemequ/repos","events_url":"https://api.github.com/users/nemequ/events{/privacy}","received_events_url":"https://api.github.com/users/nemequ/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-30T15:39:52Z","updated_at":"2015-09-23T19:45:01Z","closed_at":null,"body":"The obvious route for heap usage (fork() and wait3()) also has some issues when considering things like preexisting freelists in malloc implementations, fragmentation, and malloc requesting more memory than it needs (e.g., next highest power of two, a multiple of the page size, etc.).\r\n\r\nI think the only way to do this accurately would be to override malloc/realloc/free/new/delete/mmap, but I still need to find a reliable solution for measuring the stack size."},"comment":{"url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/comments/142708240","html_url":"https://github.com/quixdb/squash-benchmark/issues/2#issuecomment-142708240","issue_url":"https://api.github.com/repos/quixdb/squash-benchmark/issues/2","id":142708240,"user":{"login":"r-lyeh","id":878187,"avatar_url":"https://avatars.githubusercontent.com/u/878187?v=3","gravatar_id":"","url":"https://api.github.com/users/r-lyeh","html_url":"https://github.com/r-lyeh","followers_url":"https://api.github.com/users/r-lyeh/followers","following_url":"https://api.github.com/users/r-lyeh/following{/other_user}","gists_url":"https://api.github.com/users/r-lyeh/gists{/gist_id}","starred_url":"https://api.github.com/users/r-lyeh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/r-lyeh/subscriptions","organizations_url":"https://api.github.com/users/r-lyeh/orgs","repos_url":"https://api.github.com/users/r-lyeh/repos","events_url":"https://api.github.com/users/r-lyeh/events{/privacy}","received_events_url":"https://api.github.com/users/r-lyeh/received_events","type":"User","site_admin":false},"created_at":"2015-09-23T19:45:01Z","updated_at":"2015-09-23T19:45:01Z","body":"Are benchmarks run on linux? If so, an LD_PRELOAD export w/ dlmalloc with a few tweaks over there could get the total RAM consumption and peaks."}}