Project

General

Profile

Cannot allocate memory for repository details

Added by Vadim Kotov about 12 years ago

Hello,

I have a problem after upgrading from 1.3.0 to 2.0.4. If I navigate to the Repository tab of my project, Redmine keeps rendering 500 error with the following alert:

Error accessing repository: cannot allocate memory - 'hg' '-R' '/var/hg/projectX' '--encoding' 'utf-8' '--config' 
'extensions.redminehelper=/usr/local/redmine-2.0.4/lib/redmine/scm/adapters/mercurial/redminehelper.py' '--config' 'diff.git=false' 'rhmanifest' '-r' 'tip' ''

I have a pretty much the same message in the Redmine log. Also, my VPS swap space is almost full (419/522Mb).

I've tried this with different projects, small and big one, with the same result. Repository overview worked like a charm for 1.3, but now its broken. Maybe I'm missing something?

Here is my setup details:

Environment:
  Redmine version                          2.0.4.stable
  Ruby version                             1.9.2 (i686-linux)
  Rails version                            3.2.6
  Environment                              production
  Database adapter                         PostgreSQL
Redmine plugins:
  redmine_backlogs                         v0.9.26
  redmine_hipchat                          2.0.0
  redmine_mylyn_connector                  2.8.2.stable

Hope someone could help.
Thanks in advance,
Vadim