Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#7238 closed defect (duplicate)

MemoryError when requesting one specific change set

Reported by: richard@… Owned by: Christian Boos
Priority: normal Milestone:
Component: version control/changeset view Version: 0.11b1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

How to Reproduce

While doing a GET operation on /changeset/73, Trac issued an internal error.

I receive an memory error when trying to view changeset 73 in my installation of trac. Other changesets can be viewed without problem.

Request parameters:

{'new': u'73'}

System Information

Trac 0.11b1
Python 2.4.3 (#1, Mar 14 2007, 19:01:42)
[GCC 4.1.1 20070105 (Red Hat 4.1.1-52)]
setuptools 0.6c7
SQLite 3.3.6
pysqlite 1.1.7
Genshi 0.4.4
Pygments 0.9
Subversion 1.4.2 (r22196)

Python Traceback

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 398, in _dispatch_request
    dispatcher.dispatch(req)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/main.py", line 217, in dispatch
    data, content_type)
  File "/usr/lib/python2.4/site-packages/Trac-0.11b1-py2.4.egg/trac/web/chrome.py", line 683, in render_template
    return stream.render(method, doctype=doctype)
  File "build/bdist.linux-x86_64/egg/genshi/core.py", line 154, in render
  File "build/bdist.linux-x86_64/egg/genshi/output.py", line 50, in encode
MemoryError

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 17 years ago

Resolution: duplicate
Status: newclosed

0.11b1 + Genshi 0.4.4 are known to be memory hungry (see #6614). This problem can manifest itself in MemoryError exceptions that can happen anywhere (possibly that changeset is bigger than your average changeset).

Some notable progresses have been made since then, and you should upgrade to (at least) 0.11rc1 or latest 0.11-stable, as well as upgrade Genshi to use its trunk version, Genshi:source:trunk@851 (you can do: easy_install http://svn.edgewall.org/repos/genshi/trunk).

If the problem persist with those versions, please reopen this ticket, giving as much details as you can on that changeset 73.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Christian Boos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Christian Boos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.