[xep-support] java.lang.OutOfMemoryError erro message

Jacques Foucry jacques at foucry.net
Tue Mar 7 07:44:19 PST 2006


On 7 mars 06, at 16:26, Michael Sulyaev wrote:

> You should edit your /Applications/XEP/xep and add -Xmx256M after / 
> bin/java (or whatever the java binary is). This sets maximum Java  
> heap size to 256M (change the value as needed). There is also -Xms  
> option which controls the initial Java heap size.

Michael,

I just tried, my xep script shell looks like :

#!/bin/sh

# XEP command-line

JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.4.2/ 
Home"
XEP_HOME="/Applications/XEP"

CP="$JAVA_HOME/lib/tools.jar:\
$XEP_HOME/lib/xep.jar:\
$XEP_HOME/lib/saxon.jar:\
$XEP_HOME/lib/xt.jar"

"$JAVA_HOME/bin/java -Xmx512m" \
	-classpath "$CP" \
	"-Dcom.renderx.xep.CONFIG=$XEP_HOME/xep.xml" \
	com.renderx.xep.XSLDriver "$@"

But the result is again an error :

/Applications/XEP/xep: line 14: /System/Library/Frameworks/ 
JavaVM.framework/Versions/1.4.2/Home/bin/java -Xmx512m: No such file  
or directory

-- 
Jacques
-------------------
(*) 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