When we have a very large build.xml that has many AnakiaTask tags , the Anakia throws an Out Of Memory exception.When we profiled to determine the cause we saw that the velocity engine member variable (ve) in AnakiaTask.java was been created everytime and it had instances to the DOM document which resulted in the lots of memory been utilised and ultimately caused the "Out Of Memory" error.
My colleague Mitch Christensen (Principal Architecht) has fixed the execute function to make the variable ready for garbage collection and this has impoved the performance tremendoulsy.and no longer we the "Out Of Memory" error. I am including the code here and hope that in gets incorporated into the velocity version 1.3. -Rajesh Bhatia Senior Software Engg OpenLatitude.com <<AnakiaTask.java>>
AnakiaTask.java
Description: Binary data
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
