Hello, I am having performance issues ending with a ''time out'' from Apache when I try to generate a PDF file using pdf-writer. It seems to happen at the render_on(pdf) function call ; the table I am trying to draw has 8 colums which values are generated on the fly. Can''t find anything about pdf-writer and the ''time out'' on the Web so far. Any ideas ? Anybody experienced the same issue ? Is there any more friendly user and faster PDF generation tool ? Thank''s, Jonathan. -- Posted via http://www.ruby-forum.com/.
I''ve ran into this error with fop and java (years ago). I haven''t tried generating "large" pdf files with PDF::Writer. In the jsp/java world I had a popup window that would refresh every 5 seconds or so to avoid the timeout issue. I don''t know if ror has a built-in solution for this. -- Andrew Stone -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060125/5784537f/attachment.html
This might be a trick, but the table I create is certainly not big : 8 columns (and only 4 are dynamic) and 2 rows. The final pdf file contains half a page. -- Posted via http://www.ruby-forum.com/.
On 25/01/06, Jonathan DERROUGH <jonathan.derrough@no-log.org> wrote:> This might be a trick, but the table I create is certainly not big : 8 > columns (and only 4 are dynamic) and 2 rows. > The final pdf file contains half a page.Have you tried timing how long it takes to create the document in a command-line mode? -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca
Jonathan DERROUGH
2006-Jan-25 13:47 UTC
[Rails] Re: Re: PDF::SimpleTable performance issues
> Have you tried timing how long it takes to create the document in a > command-line mode? >Nope, I am using Rails with Apache and FastCGI, and I am having trouble with the ''console'' script. I will try to fix it tonight and get the timing. -- Posted via http://www.ruby-forum.com/.