Marcelo Ametller wrote:
yes: from cStringIO import StringIO
I suppose that use the memory of the servidor?
Yes, it provides a kind of memory file for Reportlab to write to instead
a real file on the harddisk. In this case, it would not make much
difference, but if you serve many small PDFs it
Christoph Zwerschke wrote:
> marcelo ametller wrote:
>
>> it only crash after some time... the time for generate de pdf is 20min.
>
>
> That's way too long. If it really must take so long, you should spawn a
> separate process to create the pdf. Your webserver will probably quit
> the connection
marcelo ametller wrote:
it only crash after some time... the time for generate de pdf is 20min.
That's way too long. If it really must take so long, you should spawn a
separate process to create the pdf. Your webserver will probably quit
the connection with timeout anyway.
What do you get
Christoph Zwerschke wrote:
> marcelo ametller wrote:
>
>> I have a servlet, with a form, a button with label "generate".
>> When the user press the button, de "action" run a function, it generate
>> a pdf (reportlab).
>> When the pdf have 200 items, that's ok. But when the pdf have 6000
>> items,
On 1/21/06, Christoph Zwerschke <[EMAIL PROTECTED]> wrote:
> marcelo ametller wrote:
> > I have a servlet, with a form, a button with label "generate".
> > When the user press the button, de "action" run a function, it generate
> > a pdf (reportlab).
> > When the pdf have 200 items, that's ok. But
marcelo ametller wrote:
I have a servlet, with a form, a button with label "generate".
When the user press the button, de "action" run a function, it generate
a pdf (reportlab).
When the pdf have 200 items, that's ok. But when the pdf have 6000
items, the appserver crash. The dmesg inform that th
hello
my plataform:
ubuntu breezy, apache2, webware0.9 , webkit, webform, postgres8 , python2.4
my hard:
celeron 1.8 ram 384Mb hd 40gb
my problem!
I have a servlet, with a form, a button with label "generate".
When the user press the button, de "action" run a function, it generate
a pdf (repo