| Author |
out of memory in CruiseControl web application
|
anagha patankar
Ranch Hand
Joined: Dec 26, 2005
Posts: 53
|
|
Hello,
I was getting out of memory error when I was running Cruisecontrol .
Here is what I was doing :
1 >Within CC was invoking ANT script
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
The java 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 : http://confluence.public.thoughtworks.org/display/CC/OutOfMemoryError
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.
anagha
|
 |
Martijn Verburg
author
Bartender
Joined: Jun 24, 2003
Posts: 3268
|
|
|
You may have to increase the memory allocated to your Web Server, XML/HTML conversion can be an expensive operation.
|
Cheers, Martijn - Blog,
Twitter, PCGen, Ikasan, My The Well-Grounded Java Developer book!,
My start-up.
|
 |
 |
|
|
subject: out of memory in CruiseControl web application
|
|
|