MaheswariRamachandran / dompdf

Automatically exported from code.google.com/p/dompdf
0 stars 0 forks source link

Unable to create PDF of 28 pages... #391

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. What should not use in html
2. Whats the define limit of set pages in pdf
3. unable to create a big html pdf

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide the HTML source code you want to convert, or any additional
information.

Original issue reported on code.google.com by vis...@futerox.biz on 12 Dec 2011 at 10:55

GoogleCodeExporter commented 9 years ago
What error message are you getting when you try to create the PDF? Are you 
running out of memory?

There's no upper limit to the number of pages as far as I'm aware, although the 
more pages you have the larger the final PDF will be and the more memory will 
be consumed whilst it is being created.

Original comment by p...@xk7.net on 13 Dec 2011 at 11:49

GoogleCodeExporter commented 9 years ago
Yes,  running out of memory?

I have set out the limit to infinite for time and 128 mb for memory...

But still getting this error... memory limits.

I am creating PDF with *inline style* with *<tr> <td>* structure.

The pdf is near about of 30 to 32 pages...

=> *Can you please clear me, Which specific css or html effects pdf
creation in DOMPDF* ?

=> *How much maximum memory limits i have to set for making BIG pdf* ?

I also tried with filegetcontent php function (unable to work)

Please let me know, as soon as possible...

Original comment by vis...@futerox.biz on 13 Dec 2011 at 1:22

GoogleCodeExporter commented 9 years ago
I'm afraid it's not possible to answer the question about the maximum memory 
limits as it depends entirely on your PDF. As a guide though, 128MB is unlikely 
to be enough for long or complicated PDFs (e.g. ones with lots of tables) - I 
have the limit set to 512MB on my servers.

You should also double-check that your HTML is valid using: 
http://validator.w3.org/

Original comment by p...@xk7.net on 13 Dec 2011 at 1:34

GoogleCodeExporter commented 9 years ago

Original comment by eclecticgeek on 24 May 2013 at 3:00