Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » 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 11:57 Go to next message
Timo Heck is currently offline Timo HeckFriend
Messages: 5
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 17:55 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
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 08:11 Go to previous messageGo to next message
Timo Heck is currently offline Timo HeckFriend
Messages: 5
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 17:08 Go to previous messageGo to next message
Steve Christou is currently offline Steve ChristouFriend
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 12:12 Go to previous message
Timo Heck is currently offline Timo HeckFriend
Messages: 5
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: Fri Apr 19 22:23:29 GMT 2024

Powered by FUDForum. Page generated in 0.02994 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top