ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <Srikrishna_Parthasara...@timeinc.com>
Subject RE: Out of Memory Error
Date Thu, 21 Apr 2005 14:37:17 GMT
What was the working solution ? Did you set min and max heap the same 
?

-----Original Message-----
From: Huditsch Roman [mailto:Roman.Huditsch@lexisnexis.at] 
Sent: Thursday, April 21, 2005 6:19 AM
To: Ant Users List
Subject: AW: Out of Memory Error

Hi,

I think I found a working solution with Ivan's help.
Thanks a lot.

wbr,
Roman

> -----Urspr√ľngliche Nachricht-----
> Von: Huditsch Roman [mailto:Roman.Huditsch@lexisnexis.at] 
> Gesendet: Donnerstag, 21. April 2005 12:06
> An: Ant Users List
> Betreff: AW: Out of Memory Error
> 
> Hi Ivan,
> 
> Thanks a lot for this very useful information.
> I didn't know about the ANT_OPTS env variable...
> I just altered my ant.bat file, but there seems to be a prob 
> with the initialization of my VM...
> 
> I get the following error message:
> Error occurred during initialization of VM Incompatible 
> initial and maximum heap sizes specified
> 
> I tried it with different value pairs, too.
> According to my system information, I should habe about 504MB memory.
> I just tried to find some info on the web, but with no success yet.
> Thanks a lot for your help!
> 
> wbr,
> Roman 
> 
> > -----Urspr√ľngliche Nachricht-----
> > Von: Ivan Ivanov [mailto:rambiusparkisanius@yahoo.com]
> > Gesendet: Donnerstag, 21. April 2005 11:53
> > An: Ant Users List
> > Betreff: Re: Out of Memory Error
> > 
> > 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
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For 
> additional commands, e-mail: user-help@ant.apache.org
> 
> 

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


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


Mime
View raw message