Hiya.
I have an HTML file, about 5 MBs big. Even when I remove all style files and images, it still seems to take about 190 MBs of memory when Prince works with it. Is there anything in particular I can do to the HTML to have it consume less memory, but still be able to produce the same PDF file? I already tried splitting the HTML into multiple files (with no regard for the resulting PDF -- I just removed a couple higher-level divs and then split the rest into multiple files), and it still arrives at about 190 MBs of memory.
The file is attached (I am not sending over any of the stylesheets or images, since they don't seem to change the memory footprint). It is a pricelist/catalogue, so it is mainly comprised of tables (with product images and prices).
Thank you!
PS: I tested this using the Debian 12 release of Prince 15.2-1 (https://www.princexml.com/download/prince_15.2-1_debian12_amd64.deb).
PPS: Using the Alpine release of Prince, it seems to go for a bit over 600 MBs of memory using the same file
.
I have an HTML file, about 5 MBs big. Even when I remove all style files and images, it still seems to take about 190 MBs of memory when Prince works with it. Is there anything in particular I can do to the HTML to have it consume less memory, but still be able to produce the same PDF file? I already tried splitting the HTML into multiple files (with no regard for the resulting PDF -- I just removed a couple higher-level divs and then split the rest into multiple files), and it still arrives at about 190 MBs of memory.
The file is attached (I am not sending over any of the stylesheets or images, since they don't seem to change the memory footprint). It is a pricelist/catalogue, so it is mainly comprised of tables (with product images and prices).
Thank you!
PS: I tested this using the Debian 12 release of Prince 15.2-1 (https://www.princexml.com/download/prince_15.2-1_debian12_amd64.deb).
PPS: Using the Alpine release of Prince, it seems to go for a bit over 600 MBs of memory using the same file
![:D](/forum/static/smiley/bigsmileface.png)