Opened 9 years ago

Closed 9 years ago

#2158 closed defect (fixed)

adding a file -- gives MemoryError

Reported by: vivs Owned by: Blackhex
Priority: normal Component: DownloadsPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10


Adding small files goes ok but when trying to add a large file (>500mb) apache returns a 500 Internal Server Error and checking the (apache) logs one finds:

[Tue Nov 06 11:53:15 2007] [error] [client] File "/usr/lib/python2.5/site-packages/trac/web/", line 37, in readline\n return self.req.readline(size), referer: [Tue Nov 06 11:53:15 2007] [error] [client] MemoryError, referer:

is this an apache error or a trac one?

Attachments (0)

Change History (1)

comment:1 Changed 9 years ago by Blackhex

  • Resolution set to fixed
  • Status changed from new to closed

Thanks for reporting.

The probem was in DownloadsPlugin because it copied upload file at once not block by block as it should be. Fixed with r2742.

Add Comment

Modify Ticket

as closed The owner will remain Blackhex.
The resolution will be deleted. Next status will be 'reopened'.

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.