{"action":"created","issue":{"url":"https://api.github.com/repos/openshift/origin/issues/5474","labels_url":"https://api.github.com/repos/openshift/origin/issues/5474/labels{/name}","comments_url":"https://api.github.com/repos/openshift/origin/issues/5474/comments","events_url":"https://api.github.com/repos/openshift/origin/issues/5474/events","html_url":"https://github.com/openshift/origin/issues/5474","id":113956481,"number":5474,"title":"Web console: Severe performance problems viewing large log files","user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-29T00:47:21Z","updated_at":"2015-10-29T11:15:34Z","closed_at":null,"body":"I tried to load the log for my heapster pod, which is at least 20K+ lines. It took maybe 15 minutes, consumed 1GB of RAM, and pegged my CPU at over 100% when I finally stopped it. The only thing I've done in the browser tab since refreshing is view the log.\r\n\r\n<img width=\"699\" alt=\"screen shot 2015-10-28 at 8 24 27 pm\" src=\"https://cloud.githubusercontent.com/assets/1167259/10807196/55c5f220-7db3-11e5-81e8-db20310803d1.png\">\r\nLooping `ng-repeat` over each log line is likely the problem. We're also passing each line to `filter : logSearch`, which I didn't think was used. Still working on profiling it.\r\n\r\nI also noticed that my Vagrant VM running OpenShift was using ~125% CPU.\r\n\r\n/cc @jwforres @benjaminapetersen "},"comment":{"url":"https://api.github.com/repos/openshift/origin/issues/comments/152149493","html_url":"https://github.com/openshift/origin/issues/5474#issuecomment-152149493","issue_url":"https://api.github.com/repos/openshift/origin/issues/5474","id":152149493,"user":{"login":"spadgett","id":1167259,"avatar_url":"https://avatars.githubusercontent.com/u/1167259?v=3","gravatar_id":"","url":"https://api.github.com/users/spadgett","html_url":"https://github.com/spadgett","followers_url":"https://api.github.com/users/spadgett/followers","following_url":"https://api.github.com/users/spadgett/following{/other_user}","gists_url":"https://api.github.com/users/spadgett/gists{/gist_id}","starred_url":"https://api.github.com/users/spadgett/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spadgett/subscriptions","organizations_url":"https://api.github.com/users/spadgett/orgs","repos_url":"https://api.github.com/users/spadgett/repos","events_url":"https://api.github.com/users/spadgett/events{/privacy}","received_events_url":"https://api.github.com/users/spadgett/received_events","type":"User","site_admin":false},"created_at":"2015-10-29T11:15:34Z","updated_at":"2015-10-29T11:15:34Z","body":"> How does a large log get chunked? One message per line?\r\n\r\nYes, one message for each line."}}