From: Alexander Peshkov (peshkov@renderx.com)
Date: Wed Jun 11 2003 - 01:36:14 PDT
Hello Jack,
Adding more memory should solve the problem. As it's noted in my
previous message, maximum Java heap size (-Xmx) should stay below
available memory limit. Otherwise your system will use a swap and it
slows down processing for the order of magnitude (as it happens in
your case). The rough empirical formula to estimate XEP memory
requirements is "one output page = 0.5-1.0MB of RAM". Clearly, it's
strongly depends on the document layout but it can give you an idea. I
expect that adding 512Mb of RAM to your PC will decrease rendering
time drastically. Number of pages/formatting time dependence is more
or less linear for large documents (then the document fits into
available memory).
By the way, as another option you may consider dividing your document
in several smaller chunks.
Best regards,
Alexander Peshkov mailto:peshkov@renderx.com
RenderX
JB> Hi Alexander,
JB> thanks for responding,
JB> i tried these settings but ran into a memory exception. I managed to
JB> get the complete file converted to pdf but it took more than 12 hours
JB> and it turned out to be 821 pages. I used the settings -Xms16M -Xmx1024M
JB> validation is off, but i only have 512 MB in my machine. I am using windows
JB> 2000 server and sun jdk 1.4.1_01.
JB> I am now trying -Xms128M -Xmx800M, with -Xmx600M i ran into a memory
JB> exception as well. Would buying extra memory solve the problem or would that
JB> only reduce the conversion time from 12 to 11 hours or so ?
JB> kind regards,
JB> Jack Broeren (Ambrac)
>> -----Original Message-----
>> From: owner-xep-support@renderx.com
>> [mailto:owner-xep-support@renderx.com]On Behalf Of Alexander Peshkov
>> Sent: Wednesday, May 28, 2003 5:08 PM
>> To: Jack Broeren
>> Subject: Re: [xep-support] java settings ?
>>
>>
>> Hello Jack,
>>
>> Java memory setting are critical for the overall performance. By
>> default, the amount of memory available to Java VM is limited to 64MB
>> regardless of the RAM size of the host machine. For a machine with <N>
>> megabytes of RAM, reasonable defaults are <N - 64> for the upper heap
>> size limit (-Xmx) and <N/2> (or less) for the lower limit (-Xms). For
>> instance, the following yields effective memory usage on a computer
>> with 512 MB of RAM: -Xms128M -Xmx400M
>> You may also try to turn off validation (using switch
>> -Dcom.renderx.xep.VALIDATION=false)
>> to speed up processing and reduce memory consumption.
>>
>> There are small chances that performance degradation caused by Java VM
>> instability. Which version of Java (and OS) are you using?
>>
>> Best regards,
>> Alexander Peshkov
>> mailto:peshkov@renderx.com
>> RenderX
>>
>>
>> JB> Hello,
>> JB> i am trying to use xep to generate a 1000 page pdf file.
>> JB> when I load a part of 600 pages (18 MB in fo), no tables
>> or whatsoever,
>> JB> it takes about 15 minutes to create a pdf file.
>> JB> The full 1000 pages however (34 MB) slows down and nearly
>> stops with no
>> JB> apparent reason after 250 pages.
>>
>> JB> What are the recommended java heap and/or memory settings and how
>> JB> can I speed xep up for larger volumes like these.
>>
>> JB> Jack Broeren
>>
>> JB> ---
>> JB> Outgoing mail is certified Virus Free.
>> JB> Checked by AVG anti-virus system (http://www.grisoft.com).
>> JB> Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
>>
>>
>> JB> -------------------
>> JB> (*) To unsubscribe, send a message with words
>> 'unsubscribe xep-support'
>> JB> in the body of the message to majordomo@renderx.com from
>> the address
>> JB> you are subscribed from.
>> JB> (*) By using the Service, you expressly agree to these
>> Terms of Service http://www.renderx.com/tos.html
>>
>>
>> -------------------
>> (*) To unsubscribe, send a message with words 'unsubscribe
>> xep-support'
>> in the body of the message to majordomo@renderx.com from the address
>> you are subscribed from.
>> (*) By using the Service, you expressly agree to these Terms
>> of Service http://www.renderx.com/tos.html
>> ---
>> Incoming mail is certified Virus Free.
>> Checked by AVG anti-virus system (http://www.grisoft.com).
>> Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
>>
JB> ---
JB> Outgoing mail is certified Virus Free.
JB> Checked by AVG anti-virus system (http://www.grisoft.com).
JB> Version: 6.0.483 / Virus Database: 279 - Release Date: 5/19/2003
JB> -------------------
JB> (*) To unsubscribe, send a message with words 'unsubscribe xep-support'
JB> in the body of the message to majordomo@renderx.com from the address
JB> you are subscribed from.
JB> (*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
-------------------
(*) To unsubscribe, send a message with words 'unsubscribe xep-support'
in the body of the message to majordomo@renderx.com from the address
you are subscribed from.
(*) By using the Service, you expressly agree to these Terms of Service http://www.renderx.com/tos.html
This archive was generated by hypermail 2.1.5 : Wed Jun 11 2003 - 01:40:08 PDT