A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Ant, Maven and Other Build Tools
out of memory in CruiseControl web application
Joined: Dec 26, 2005
Jan 31, 2009 09:12:40
I was getting out of memory error when I was running Cruisecontrol .
Here is what I was doing :
1 >Within CC was invoking
2 >ANT script was invoking PMD ( static code analysis )
3 >Output of PMD was in form of XML file which was merged with CC logs
code base against which PMD is run is huge - so output merged file size > 45 MB
To fix the problem - I saw a parameter commented in the .bat file of CC
Uncommenting it solved my problem in CC
Now the problem I am facing is in the CC webapplication
Here the large log file is causing the out of memory
If I delete most of the content of the log file things work fine
The problem it seems is the XML to HTML conversion ( using XSL / XSLT ? )
I did take a look at this page :
Howwever I can see in the error stack trace that the error is coming from saxon file itself .
Can anyone suggest some solutions ?
Thanks in advance.
Joined: Jun 24, 2003
Feb 03, 2009 07:58:42
You may have to increase the memory allocated to your Web Server, XML/HTML conversion can be an expensive operation.
Cheers, Martijn -
The Well-Grounded Java Developer book!
I agree. Here's the link:
subject: out of memory in CruiseControl web application
VSS RuntimeException - The system cannot find the file specified
pmd - type resolution rules not running
PMD ANT problem
Pragmatic Project Automation book - What's it all about?
Howto run specific JUnit tests in ant?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015