HTML to PDF / DOCX / RTF Java converter library › Forums › PD4ML v3 Archived Forums (Read Only) › Troubleshooting › PD4ML getting out of memory errors › Re: Re: PD4ML getting out of memory errors
Hi PD4ML Support team,
I have a question regarding my “out of memory” problem.
My environment:
– OS: AIX
– Apps Server: Weblogic 6 (JDK 1.3)
– PD4ML 350 Pro
I tried to use PD4ML 350 Pro to print chinese character in PDF by accessing TTF file.
The TTF file size is 22 MB.
The parameter of java options in weblogic start script is the following
-Xms=128m -Xmx=256m -> always throwing error “out of memory” when converting to PDF
-Xms=512m -Xmx=512m -> always throwing error “out of memory” when converting to PDF
-Xms=128m -Xmx=512m -> working properly
My question is why when I set the heap size -Xms=512m -Xmx=512m, always throwing out of memory
and -Xms=128m -Xmx=512m it can work properly.
Is my setting above correct (-Xms=128m -Xmx=512m) ?
Thank you