• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

out of memory in CruiseControl web application

 
anagha patankar
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 3275
5
Eclipse IDE Java Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You may have to increase the memory allocated to your Web Server, XML/HTML conversion can be an expensive operation.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic