Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The easiest thing you could do, if your hosting allows it, is to set the PHP memory_limit higher by creating your custom php.ini and setting <code>memory_limit = 64M</code>. You can check if the setting is working via <code>phpinfo()</code>, just remember to delete the line/file you used to check phpinfo to avoid exposing the PHP settings to everyone.</p> <p>If this is not working, you can try fine-tuning some performance settings.</p> <p>For TCPDF these are listed under <a href="http://www.tcpdf.org/performances.php" rel="nofollow">TCPDF Performance Docs</a> and I suggest you apply all the settings and use the practices that may reduce memory consumption and don't affect your output. For example:</p> <blockquote> <ul> <li>If you are not using the Thai language, edit the config/tcpdf_config.php file and set the K_THAI_TOPCHARS constant to false;</li> <li>If you do not need extended chars, edit the config/tcpdf_config.php file and set the default fonts to core fonts;</li> <li>By default TCPDF enables font subsetting to reduce the size of embedded Unicode TTF fonts, this process, that is very slow and requires a lot of memory, can be turned off using setFontSubsetting(false) method;</li> <li>Use core fonts instead of embedded fonts whenever possible;</li> <li>Avoid using the HTML syntax (writeHTML and writeHTMLCell methods) if not strictly required;</li> <li>Split large HTML blocks in smaller pieces;</li> <li>Avoid using transactions if not strictly required;</li> </ul> </blockquote> <p>You could also export page by page and then merge the generated PDF files locally.</p> <p>Your last option is to either kindly ask your hosting provider to increase PHP memory_limit (at least temporary), or to upgrade to a better hosting plan.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload