Opened 10 years ago

Closed 10 years ago

#2158 closed defect (fixed)

adding a file -- gives MemoryError

Reported by: vivs Owned by: Radek Bartoň
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 10 years ago by Radek Bartoň

Resolution: fixed
Status: newclosed

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.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Radek Bartoň.
The resolution will be deleted.

Add Comment

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

Note: See TracTickets for help on using tickets.