Re: File Upload : Memory consumption

2009-07-17 Thread Alvin
has anyone had luck getting past this? I am using a recent 1.1 beta release have checked the folder permissions and set the FILE_UPLOAD_TEMP_DIR all 777 code is at http://pastebin.com/m4332fdb2 On Jun 24, 2:06 pm, alecs wrote: > If to be honest I can't google this posts

Re: File Upload : Memory consumption

2009-06-24 Thread alecs
If to be honest I can't google this posts ... Most of the links are for patches or for old django versions :( Don't know, maybe I should try to set FILE_UPLOAD_MAX_MEMORY_SIZE, but I didn't change it , so the default value is 2.5Mb ... On Jun 24, 2:54 pm, John M wrote: >

Re: File Upload : Memory consumption

2009-06-24 Thread alecs
The maximum size, in bytes, for files that will be uploaded into memory. Files larger than FILE_UPLOAD_MAX_MEMORY_SIZE will be streamed to disk. Defaults to 2.5 megabytes. My file size is greater than 2.5Mb, so it will be streamed to disk... --~--~-~--~~~---~--~~

Re: File Upload : Memory consumption

2009-06-24 Thread Xavier Ordoquy
On Wed, 2009-06-24 at 03:20 -0700, alecs wrote: > Hi! I'm trying to upload a large file (700Mb) and something wrong with > django happens: First it starts caching enormously (4Gb of ram are > used), than it starts to purge caches and starts swapping (1Gb of swap > is used). > Have you ever faced

Re: File Upload : Memory consumption

2009-06-24 Thread John M
I've seen quite a few posts on this, and I think it's documented as well. As I recall, there is a certain way of doing large uploads, search the docs and the forum and I'm sure you'll find it. On Jun 24, 3:20 am, alecs wrote: > Hi! I'm trying to upload a large file (700Mb)

File Upload : Memory consumption

2009-06-24 Thread alecs
Hi! I'm trying to upload a large file (700Mb) and something wrong with django happens: First it starts caching enormously (4Gb of ram are used), than it starts to purge caches and starts swapping (1Gb of swap is used). Have you ever faced with such a thing ? Django 1.02, mod_wsgi + Apache 2.2