File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
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: 3274
    
    5

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://aspose.com/file-tools
 
subject: out of memory in CruiseControl web application
 
Similar Threads
Howto run specific JUnit tests in ant?
pmd - type resolution rules not running
PMD ANT problem
Pragmatic Project Automation book - What's it all about?
VSS RuntimeException - The system cannot find the file specified