Summary: | java.lang.OutOfMemoryError in junitreport | ||
---|---|---|---|
Product: | Ant | Reporter: | mikael petterson <mikael.petterson> |
Component: | Optional Tasks | Assignee: | Ant Notifications List <notifications> |
Status: | RESOLVED WONTFIX | ||
Severity: | critical | CC: | jglick |
Priority: | P2 | Keywords: | Xerces2 |
Version: | 1.6.2 | ||
Target Milestone: | --- | ||
Hardware: | Sun | ||
OS: | Solaris |
Description
mikael petterson
2005-04-07 08:07:26 UTC
<junitreport> doesn't actually parse anything - well, it loads the files. Antt passes the files to the XSLT processor after aggregating them into one big file. Most probably Ant does not die during the aggregation but the XSLT processor needs more memory than it gets. Which processor do you use? Using a different one like Saxon instead of Xalan-J or just Xalan-J instead of Xalan-XSLTC (the default processor of Java 5.0) might help. Encounter similar problem but was able to resolve the issue by creating a system environment variable ANT_OPTS= -Xms256M -Xmx512M Mikael, are you running on Java1.5? It looks like the built in xslt engine is more memory-hungry than the classic xalan one... I'm going to close this as wontfix. the XSL transforms are very memory hungry, especially if you dont add xalan2 to the classpath. the only way to fix it is to not use XSL to process things. |