Re: [xep-support] out of memory error, still trying

From: M Giffin <mgiffin@earthlink.net>
Date: Tue Jul 18 2006 - 10:14:53 PDT

At 12:08 AM 7/18/2006, Chris Ridd wrote:

>In the off-chance that you haven't specified -Xmx correctly (or in the right
>place), can you watch the size of the Java program using Task Manager while
>using both -Xmx settings? If Java reaches the same size in both cases before
>stopping, then logically you aren't passing -Xmx properly.

Thanks for your tactful suggestion that there might possibly be
operator error here. You were right, I had put the -Xmx switch on the
wrong line in xep.bat. It works!! It smoothly produced all 667 pages
of my PDF. Thanks! I am happy now.

Here's what I did wrong. There are two alternate command lines in
xep.bat, chosen by logic. I only put my -Xmx420M on the top line,
when it was the bottom line that was being used.

if x%OS%==xWindows_NT goto WINNT
"C:\Program Files\Java\jre1.5.0_06\bin\java" -Xmx420M {{WRONG PLACE}}
-classpath "%CP%" com.renderx.xep.XSLDriver "-DCONFIG=C:\xep\xep.xml"
%1 %2 %3 %4 %5 %6 %7 %8 %9
goto END

:WINNT
"C:\Program Files\Java\jre1.5.0_06\bin\java" {{RIGHT PLACE}}
-classpath "%CP%" com.renderx.xep.XSLDriver "-DCONFIG=C:\xep\xep.xml" %*

Mark

-------------------
(*) 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/terms-of-service.html
Received on Tue Jul 18 10:56:46 2006

This archive was generated by hypermail 2.1.8 : Tue Jul 18 2006 - 10:56:49 PDT