Opened 16 years ago

Last modified 12 years ago

#2811 assigned defect

error while loading large file — at Initial Version

Reported by: ian.trac@… Owned by: Petr Škoda
Priority: normal Component: TracDownloaderPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Downloader seems to be working fantastically on smaller files (<20mb) but dies on my primary release package (~500mb). Not neccesarily sure it's downloader dependent but ideas on how to get around/improve downloader to be able to handle files of this size would be greatly appreciated.

Server 2k3, XAMP (Apache 2.2) Trac .11dev and here's the output from the log:

2008-03-27 19:45:06,302 Trac[chrome] DEBUG: Prepare chrome data for request 2008-03-27 19:45:06,349 Trac[session] DEBUG: Retrieving session for ID 'ijones' 2008-03-27 19:45:06,365 Trac[session] DEBUG: Retrieving session for ID 'ijones' 2008-03-27 19:45:06,552 Trac[main] DEBUG: 475 unreachable objects found. 2008-03-27 19:45:06,599 Trac[main] DEBUG: 384 unreachable objects found. 2008-03-27 19:45:18,459 Trac[main] DEBUG: Dispatching <Request "POST u'/admin/general/downloader/files/release/1'"> 2008-03-27 19:45:18,474 Trac[main] ERROR: Traceback (most recent call last):

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\main.py", line 417, in _dispatch_request

dispatcher.dispatch(req)

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\main.py", line 164, in dispatch

if handler.match_request(req):

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\admin\web_ui.py", line 75, in match_request

req.argscat_id? = match.group(1)

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\api.py", line 168, in getattr

value = self.callbacks[name](self)

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\api.py", line 444, in _parse_args

fs = cgi.FieldStorage(fp, environ=self.environ, keep_blank_values=True)

File "C:\Python25\lib\cgi.py", line 534, in init

self.read_multi(environ, keep_blank_values, strict_parsing)

File "C:\Python25\lib\cgi.py", line 657, in read_multi

headers = rfc822.Message(self.fp)

File "C:\Python25\lib\rfc822.py", line 104, in init

self.readheaders()

File "C:\Python25\lib\rfc822.py", line 151, in readheaders

line = self.fp.readline()

File "c:\python25\lib\site-packages\trac-0.11dev_r6750-py2.5.egg\trac\web\modpython_frontend.py", line 46, in readline

return self.req.readline(size)

MemoryError 2008-03-27 19:45:18,474 Trac[chrome] DEBUG: Prepare chrome data for request 2008-03-27 19:45:18,490 Trac[session] DEBUG: Retrieving session for ID 'ijones' 2008-03-27 19:45:18,552 Trac[main] DEBUG: 441 unreachable objects found.

Change History (0)

Note: See TracTickets for help on using tickets.