Doesn't work for me...
do you use directly lzc (via ant exec) or directly to java classes like
i did ? :
<java dir="${build.dir}/flash/root/demos/${ClientPath}"
classname="org.openlaszlo.compiler.Main"
fork="true">
<arg value="${ClientAppName}.lzx"/>
<jvmarg
value="-DLPS_HOME=${tmp.dir}/${OLArchive}/Server/lps-latest"/>
<classpath refid="ol.classpath"/> </java>
i keep trying ... i think it's java configuration problem like what you
propose to me, or maybe it's not the right way to use lzc
regards,
Pierre
P T Withington a écrit :
On 2007-04-19, at 04:57 EDT, Pierre Augier wrote:
set ANT_OPTS=-XX:MaxPermSize=256m
set JAVA_OPTS=-XX:MaxPermSize=256m
set ANT_OPTS=-XX:MaxPermSize=512m
set JAVA_OPTS=-XX:MaxPermSize=512m
for the moment i don't use debug ... but it would be very usefull
when i 'll go deeper into the code ..
I use:
export JAVA_OPTS="-ea -Xmx384m"
and have never seen out of memory on lzc.