ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ivan Ivanov <rambiusparkisan...@yahoo.com>
Subject Re: Out of Memory Error
Date Thu, 21 Apr 2005 09:52:37 GMT
Good Morning Roman
--- Huditsch Roman <Roman.Huditsch@lexisnexis.at>
wrote:
> Good morning list,
> 
> I encountered a slight problem, when doing my xslt
> transformations by an
> ant build file.
> It seems that I am running out of memory.
> Do can I give ant a bigger share of my memory?
Yes, you can use ANT_OPTS environment variable:
export ANT_OPTS= "-Xms256M -Xmx512M "

> Do I have to alter ant.bat?
No, if you use ANT_OPTS.
> Or is it possible that there is an other problem
> with my xslt tasks?
Actually, there might be a problem with your xsl
transformations, for example some inefficient
operation. The xslt task itself is not resource-hungry
it just starts the transformation. Usually, it is
adviced if one encounter such an error to revise her
xslt, but I am not very much XSLT literate
(unfortunately), so I know no starting points to do
it.

> I am using a chain of 
> <xslt basedir="splitted" destdir="dates_converted"
> style="stylesheets/convert_date.xslt"
> classpath="net.sf.saxon.Transform"
> processor="trax" extension=".xml"/>
> instructions....
> 
> Thanks for any help!

Regards
Ivan
> 
> wbr,
> Roman
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> user-unsubscribe@ant.apache.org
> For additional commands, e-mail:
> user-help@ant.apache.org
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message