Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Hudson » Exceeding memory usage logged by MemoryUsageMonitor(hudson continuously logs Exception every 10 seconds thrown by MemoryUsageMonitor)
Exceeding memory usage logged by MemoryUsageMonitor [message #892204] Wed, 27 June 2012 07:57 Go to next message
Timo Heck is currently offline Timo Heck
Messages: 4
Registered: March 2010
Location: Germany
Junior Member
Hi,

we lately set up a hudson server 2.2.1.
I am still experimenting to find the best setup for us.

After creating four Maven 3 build jobs the server now logs an Exception
27.06.2012 13:37:32 hudson.triggers.SafeTimerTask run
SCHWERWIEGEND: Timer task hudson.diagnosis.MemoryUsageMonitor@355e8678 failed
java.lang.IllegalArgumentException: committed = 2139308032 should be < max = 1533935616
	at java.lang.management.MemoryUsage.<init>(MemoryUsage.java:145)
	at sun.management.MemoryPoolImpl.getCollectionUsage0(Native Method)
	at sun.management.MemoryPoolImpl.getCollectionUsage(MemoryPoolImpl.java:237)
	at hudson.diagnosis.MemoryUsageMonitor$MemoryGroup.update(MemoryUsageMonitor.java:79)
	at hudson.diagnosis.MemoryUsageMonitor$MemoryGroup.access$100(MemoryUsageMonitor.java:54)
	at hudson.diagnosis.MemoryUsageMonitor.doRun(MemoryUsageMonitor.java:122)
	at hudson.triggers.SafeTimerTask.run(SafeTimerTask.java:54)
	at java.util.TimerThread.mainLoop(Timer.java:512)
	at java.util.TimerThread.run(Timer.java:462)


Hudson only allocates half of the memory the server actually provides. I'd like to know what causes this message and is this max value eventually adjustable?
Re: Exceeding memory usage logged by MemoryUsageMonitor [message #892327 is a reply to message #892204] Wed, 27 June 2012 13:55 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

This might be a transient bug in the JDK, several questions:
1. What version of java jdk are you using?
2. What plugins do you have installed?
4. Maven projects I believe are legacy items, instead try creating a free-style project and as a build step use the maven 3 build step.


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: Exceeding memory usage logged by MemoryUsageMonitor [message #892974 is a reply to message #892327] Mon, 02 July 2012 04:11 Go to previous messageGo to next message
Timo Heck is currently offline Timo Heck
Messages: 4
Registered: March 2010
Location: Germany
Junior Member
Hi, sorry for the delay.

we are currently using

  1. jdk 1.6.0_24
  2. free style project with Maven 3

I read about the legacy Maven project earlier so I used free sytle project with maven 3 build steps from the start.
Here is the list of installed plugins:

  1. Static Analysis Utilities
  2. Checkstyle Plug-in
  3. Hudson CVS Plug-in
  4. FindBugs Plug-in
  5. Hudson GIT plugin
  6. Hudson :: Maven (legacy) :: Plugin
  7. Hudson :: Maven 3 :: Plugin
  8. Hudson :: Maven 3 :: SNAPSHOT Monitor
  9. PMD Plug-in
  10. Hudson :: REST :: Plugin
  11. Hudson SSH Slaves plugin
  12. Hudson Subversion Plug-in
  13. Jenkins Subversion Tagging Plugin
  14. SVN Publisher plugin

Re: Exceeding memory usage logged by MemoryUsageMonitor [message #893118 is a reply to message #892974] Mon, 02 July 2012 13:08 Go to previous messageGo to next message
Steve Christou is currently offline Steve Christou
Messages: 125
Registered: June 2012
Location: Milwaukee, Wisconsin
Senior Member

I believe this could be a bug, could you log this in the bugzilla for hudson core and give all information you gave here, and put the bugzilla ID on this forum post?

Thanks,
Steve.


/**
 * @author Steven Christou
 * @dev    Hudson-ci
 */
Re: Exceeding memory usage logged by MemoryUsageMonitor [message #894019 is a reply to message #892204] Fri, 06 July 2012 08:12 Go to previous message
Timo Heck is currently offline Timo Heck
Messages: 4
Registered: March 2010
Location: Germany
Junior Member
Hi,

Bug is filed at Bug 384461.
Previous Topic:Hudson SVN credential exceptions
Next Topic:Hudson BUG
Goto Forum:
  


Current Time: Sun Apr 20 23:06:40 EDT 2014

Powered by FUDForum. Page generated in 0.01584 seconds