Re: [Trac] Uploading files for Download

2015-01-13 Thread Roger Oberholtzer
No idea. But since it is most likely using the http protocol for this,
I would not be surprised if all data is in memory buffers at some
point.

I am trying to see how best to set it up so I can update a file
outside trac and then just update the trac database with the new
information on the file. I would hope then the same problem would not
occur when sending back a big file. If so, then I am going to have a
problem...

On Tue, Jan 13, 2015 at 10:14 PM, Steffen Hoffmann  wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 07.01.2015 12:15, Roger Oberholtzer wrote:
>> line 52, in readline
>> return self.req.readline(size)
>> MemoryError
>
> I guess that you'll need quite a bit more RAM than the biggest file you
> try to upload on that machine. But this shouldn't be the problem in your
> case.
>
> May it be, that Python simply has not permission (process memory quota
> or similar restriction) to reserve enough memory for buffering the
> received data stream in memory?
>
> Steffen Hoffmann
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.12 (GNU/Linux)
>
> iEYEARECAAYFAlS1irQACgkQ31DJeiZFuHfmqgCg5r1qtFmJxL1dTK69hEfNLdoh
> +LoAnRWS05u63vQcWw9ihqNCF+ZL7mdV
> =mErl
> -END PGP SIGNATURE-
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to trac-users+unsubscr...@googlegroups.com.
> To post to this group, send email to trac-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.



-- 
Roger Oberholtzer

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Uploading files for Download

2015-01-13 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 07.01.2015 12:15, Roger Oberholtzer wrote:
> line 52, in readline
> return self.req.readline(size)
> MemoryError

I guess that you'll need quite a bit more RAM than the biggest file you
try to upload on that machine. But this shouldn't be the problem in your
case.

May it be, that Python simply has not permission (process memory quota
or similar restriction) to reserve enough memory for buffering the
received data stream in memory?

Steffen Hoffmann
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlS1irQACgkQ31DJeiZFuHfmqgCg5r1qtFmJxL1dTK69hEfNLdoh
+LoAnRWS05u63vQcWw9ihqNCF+ZL7mdV
=mErl
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.