Wednesday, September 30, 2009

Hudson: Memory Leaks and Other Issues

Continuation of earlier post at http://triviaatwork.blogspot.com/2009/09/hudson-too-has-problems-subversion.html


Out of Memory
The memory usage of Hudson build system rose to 800MB or so after I left it to run for a couple of weeks. Some component seems to be causing leaks. There have been earlier complaints about memory leaks in Hudson, for example, http://www.nabble.com/hudson-memory-leak-td23221034.html but not sure whether these issues were confirmed and/or solved. As per Hudson "Memory Leak Document" at http://wiki.hudson-ci.org/display/HUDSON/I%27m+getting+OutOfMemoryError, I have restarted JVM with the suggested option of "-XX:+HeapDumpOnOutOfMemoryError". I am not running Hudson under distributed build. It is possible that some plugin is eating the memory.

Doxygen Plugin
With doxygen plugin I get:

FATAL: error

hudson.AbortException: The directory 'C:\Users\g0700201\.hudson\jobs\\workspace\docs\doxygen_html' doesn't exist.

        at hudson.plugins.doxygen.DoxygenDirectoryParser.retrieveDoxygenDirectoryFromDoxyfile(DoxygenDirectoryParser.java:278)

CCCC Plugin


I dont know how anybody ever got this plugin to work. Will cccc I get:

Parsing cccc results

hudson.AbortException: Parsing file error

        at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:76)

        at com.thalesgroup.hudson.plugins.cccc.CccccParser.invoke(CccccParser.java:50)

No comments: