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

M Giffin mgiffin at earthlink.net
Tue Jul 18 10:14:53 PDT 2006


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 at 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



More information about the Xep-support mailing list