The error you get is not in uploading the file but in trying to display 
something very large. I suspect there is something in your model that is 
causing the problem. Can we see your model?



On Saturday, 16 June 2012 00:15:35 UTC-5, Sanjeet Roy wrote:
>
> Can i upload the more than 100 mb file using web2py when i tried got the 
> error:-
>
>
> Traceback (most recent call last):
>   File "/home/tls-sanjeet/Desktop/web2py/gluon/restricted.py", line 205, in 
> restricted
>     exec ccode in environment
>   File 
> "/home/tls-sanjeet/Desktop/web2py/applications/upload_test/views/appadmin.html"
>  <http://127.0.0.1:8000/admin/default/edit/upload_test/views/appadmin.html>, 
> line 56, in <module>
>     {{if rows:}}
>   File "/home/tls-sanjeet/Desktop/web2py/gluon/globals.py", line 182, in write
>     self.body.write(xmlescape(data))
>   File "/home/tls-sanjeet/Desktop/web2py/gluon/html.py", line 114, in 
> xmlescape
>     return data.xml()
>   File "/home/tls-sanjeet/Desktop/web2py/gluon/html.py", line 848, in xml
>     (fa, co) = self._xml()
>   File "/home/tls-sanjeet/Desktop/web2py/gluon/html.py", line 839, in _xml
>     self.components])
> MemoryError
>
>
>

Reply via email to