{"action":"created","issue":{"url":"https://api.github.com/repos/lic-nz/Malone/issues/35","labels_url":"https://api.github.com/repos/lic-nz/Malone/issues/35/labels{/name}","comments_url":"https://api.github.com/repos/lic-nz/Malone/issues/35/comments","events_url":"https://api.github.com/repos/lic-nz/Malone/issues/35/events","html_url":"https://github.com/lic-nz/Malone/issues/35","id":76117970,"number":35,"title":"Memory usage with large history record","user":{"login":"jemerald","id":9168432,"avatar_url":"https://avatars.githubusercontent.com/u/9168432?v=3","gravatar_id":"","url":"https://api.github.com/users/jemerald","html_url":"https://github.com/jemerald","followers_url":"https://api.github.com/users/jemerald/followers","following_url":"https://api.github.com/users/jemerald/following{/other_user}","gists_url":"https://api.github.com/users/jemerald/gists{/gist_id}","starred_url":"https://api.github.com/users/jemerald/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jemerald/subscriptions","organizations_url":"https://api.github.com/users/jemerald/orgs","repos_url":"https://api.github.com/users/jemerald/repos","events_url":"https://api.github.com/users/jemerald/events{/privacy}","received_events_url":"https://api.github.com/users/jemerald/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/lic-nz/Malone/labels/for%20usability","name":"for usability","color":"006b75"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/lic-nz/Malone/milestones/2","html_url":"https://github.com/lic-nz/Malone/milestones/v2.0.0","labels_url":"https://api.github.com/repos/lic-nz/Malone/milestones/2/labels","id":1055355,"number":2,"title":"v2.0.0","description":"","creator":{"login":"stajs","id":2253814,"avatar_url":"https://avatars.githubusercontent.com/u/2253814?v=3","gravatar_id":"","url":"https://api.github.com/users/stajs","html_url":"https://github.com/stajs","followers_url":"https://api.github.com/users/stajs/followers","following_url":"https://api.github.com/users/stajs/following{/other_user}","gists_url":"https://api.github.com/users/stajs/gists{/gist_id}","starred_url":"https://api.github.com/users/stajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stajs/subscriptions","organizations_url":"https://api.github.com/users/stajs/orgs","repos_url":"https://api.github.com/users/stajs/repos","events_url":"https://api.github.com/users/stajs/events{/privacy}","received_events_url":"https://api.github.com/users/stajs/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":1,"state":"open","created_at":"2015-04-06T23:51:27Z","updated_at":"2015-05-18T03:22:50Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-05-13T20:45:01Z","updated_at":"2015-05-18T04:44:29Z","closed_at":null,"body":"Used it with WebAPI that returns large amount of data (7MB each time), and the application would consume a big chunk of memory (a few gigs), even right after start up, it also slows down the start up speed.\r\n\r\nLooks like the entire response data are stored with the history, and gets displayed when the history entry is selected, but is this a necessary feature?\r\n\r\nEven if it is, maybe should consider splitting the history file multiple smaller files, one per request, and only load the response when the history entry is selected to display?"},"comment":{"url":"https://api.github.com/repos/lic-nz/Malone/issues/comments/102920750","html_url":"https://github.com/lic-nz/Malone/issues/35#issuecomment-102920750","issue_url":"https://api.github.com/repos/lic-nz/Malone/issues/35","id":102920750,"user":{"login":"stajs","id":2253814,"avatar_url":"https://avatars.githubusercontent.com/u/2253814?v=3","gravatar_id":"","url":"https://api.github.com/users/stajs","html_url":"https://github.com/stajs","followers_url":"https://api.github.com/users/stajs/followers","following_url":"https://api.github.com/users/stajs/following{/other_user}","gists_url":"https://api.github.com/users/stajs/gists{/gist_id}","starred_url":"https://api.github.com/users/stajs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stajs/subscriptions","organizations_url":"https://api.github.com/users/stajs/orgs","repos_url":"https://api.github.com/users/stajs/repos","events_url":"https://api.github.com/users/stajs/events{/privacy}","received_events_url":"https://api.github.com/users/stajs/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T04:44:29Z","updated_at":"2015-05-18T04:44:29Z","body":"The collection will store the response so that the command line runner can run a regression test collection and be able to compare the saved response in the collection to the current response and fail or pass the test (if needed).\r\n\r\nBut we can definitely improve the implementation to not store _all_ responses in memory, just the current one needed."}}