Skip to content

will there be huge file upload support ? #1067

@zjyes

Description

@zjyes

when uploading huge file ,there is MemoryError as follows.

any plan to fixed this?

ERROR:aiohttp.web:Error handling request
Traceback (most recent call last):
File "D:\soft\prog\python3\python-3.5.1\lib\site-packages\aiohttp\server.py", line 285, in start
yield from self.handle_request(message, payload)
File "D:\soft\prog\python3\python-3.5.1\lib\site-packages\aiohttp\web.py", line 90, in handle_request
resp = yield from handler(request)
File "D:\prog\comp.lang.python\廖2\webfx2.py", line 305, in logger
return await handler(request)
File "D:\prog\comp.lang.python\廖2\webfx2.py", line 320, in auth
return (await handler(request))
File "D:\prog\comp.lang.python\廖2\webfx2.py", line 338, in response
r = await handler(request)
File "D:\soft\prog\python3\python-3.5.1\lib\site-packages\aiohttp\web_urldispatcher.py", line 101, in handler_wrapper
result = yield from result
File "D:\prog\comp.lang.python\廖2\webfx2.py", line 211, in call
params = await request.post()
File "D:\soft\prog\python3\python-3.5.1\lib\site-packages\aiohttp\web_reqrep.py", line 347, in post
body = yield from self.read()
File "D:\soft\prog\python3\python-3.5.1\lib\site-packages\aiohttp\web_reqrep.py", line 307, in read
body.extend(chunk)
MemoryError

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions