aspose file tools
The moose likes Ant, Maven and Other Build Tools and the fly likes out of memory in CruiseControl web application Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Reply Bookmark "out of memory in CruiseControl web application" Watch "out of memory in CruiseControl web application" New topic
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.
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: out of memory in CruiseControl web application
 
Similar Threads
PMD ANT problem
Pragmatic Project Automation book - What's it all about?
pmd - type resolution rules not running
Howto run specific JUnit tests in ant?
VSS RuntimeException - The system cannot find the file specified