Modify ↓
Opened 17 years ago
Closed 17 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 |
Description
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 192.168.1.48] File "/usr/lib/python2.5/site-packages/trac/web/modpython_frontend.py", line 37, in readline\n return self.req.readline(size), referer: http://jsaf.calytrix.com:8000/trac/admin/downloads/downloads [Tue Nov 06 11:53:15 2007] [error] [client 192.168.1.48] MemoryError, referer: http://jsaf.calytrix.com:8000/trac/admin/downloads/downloads
is this an apache error or a trac one?
Attachments (0)
Note: See
TracTickets for help on using
tickets.
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.