{"action":"created","issue":{"url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/27","repository_url":"https://api.github.com/repos/apparatus/terminal-devtools","labels_url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/27/comments","events_url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/27/events","html_url":"https://github.com/apparatus/terminal-devtools/issues/27","id":131892294,"number":27,"title":"improve nav tree lookups","user":{"login":"davidmarkclements","id":1190716,"avatar_url":"https://avatars.githubusercontent.com/u/1190716?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarkclements","html_url":"https://github.com/davidmarkclements","followers_url":"https://api.github.com/users/davidmarkclements/followers","following_url":"https://api.github.com/users/davidmarkclements/following{/other_user}","gists_url":"https://api.github.com/users/davidmarkclements/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarkclements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarkclements/subscriptions","organizations_url":"https://api.github.com/users/davidmarkclements/orgs","repos_url":"https://api.github.com/users/davidmarkclements/repos","events_url":"https://api.github.com/users/davidmarkclements/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarkclements/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/apparatus/terminal-devtools/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-02-06T19:48:48Z","updated_at":"2016-02-09T13:31:59Z","closed_at":null,"body":"the entire navigation tree is queried synchronously on start up (including all node_modules), \r\nthen the content of each file is saved into memory\r\n\r\nobviously this is an out of memory error waiting to happen, so we need to\r\n\r\n1) load all files paths and content from debugger api *ONLY*\r\n2) all other paths and content to be lazily loaded upon selection (see scope tree implementation in reducers/actions for an example of how to)\r\n"},"comment":{"url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/comments/181866064","html_url":"https://github.com/apparatus/terminal-devtools/issues/27#issuecomment-181866064","issue_url":"https://api.github.com/repos/apparatus/terminal-devtools/issues/27","id":181866064,"user":{"login":"davidmarkclements","id":1190716,"avatar_url":"https://avatars.githubusercontent.com/u/1190716?v=3","gravatar_id":"","url":"https://api.github.com/users/davidmarkclements","html_url":"https://github.com/davidmarkclements","followers_url":"https://api.github.com/users/davidmarkclements/followers","following_url":"https://api.github.com/users/davidmarkclements/following{/other_user}","gists_url":"https://api.github.com/users/davidmarkclements/gists{/gist_id}","starred_url":"https://api.github.com/users/davidmarkclements/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidmarkclements/subscriptions","organizations_url":"https://api.github.com/users/davidmarkclements/orgs","repos_url":"https://api.github.com/users/davidmarkclements/repos","events_url":"https://api.github.com/users/davidmarkclements/events{/privacy}","received_events_url":"https://api.github.com/users/davidmarkclements/received_events","type":"User","site_admin":false},"created_at":"2016-02-09T13:31:59Z","updated_at":"2016-02-09T13:31:59Z","body":"another issue here is remote (or containerized) file systems (since we support the <host> arg)\r\n\r\nnot only do we need to make this lazy, we also need to extract the fs info *through* the process we're debugging - (e.g. by sending v8 proto eval of fs ops, getting back `<ContextMirror>` ,looking those up to get the dir/file contents) "}}