500 error when trying to display the log page
Created by: Techbrunch
When I try to access the log page I get a 500 error page.
Error log :
Started GET "/admin/logs" for at 2013-05-30 13:29:53 +0000
Processing by Admin::LogsController#show as HTML
Rendered admin/logs/show.html.haml within layouts/admin (1.7ms)
Completed 500 Internal Server Error in 5ms
ActionView::Template::Error (Cannot allocate memory - tail -n 2000 /home/git/gitlab/log/githost.log):
21: Scroll down
22: .file_content.logs
23: %ol
24: - Gitlab::GitLogger.read_latest.each do |line|
25: %li
26: %p= line
27: .tab-pane#application
lib/gitlab/logger.rb:14:in `read_latest'
app/views/admin/logs/show.html.haml:24:in `_app_views_admin_logs_show_html_haml___636665670_95753840'