title: Java memory leak, only Jenkins running, Jenkins .war analysis shows nothing strange
body: <p>I'm currently running Jenkins on a mac mini with Xmx2048m set and a permgen space of 512, I have the 'Monitoring' plugin running and it shows Jenkins using ~200M memory (spiking at 400 during archives). This number is slowly creeping up as you can see below.</p>
  
  <p><a href="http://i.imgur.com/vTuIyTz.png" rel="nofollow">http://i.imgur.com/vTuIyTz.png</a></p>
  
  <p>When I look at the java process using 'top' on the mac mini it is showing the memory at about 685M. This number creeps up quicker and, eventually, hits 2048 and Jenkins bombs out.</p>
  
  <p><a href="http://i.imgur.com/TojBjhI.png" rel="nofollow">http://i.imgur.com/TojBjhI.png</a></p>
  
  <p>When I reboot the machine, or restart Jenkins, the 'top' recording drops back to around 270M and the java monitor drops to around 150M. What could be causing the difference in these readouts?</p>
  
  <p>Is there a way to determine what exactly is causing the memory leak? I'm assuming it's a plugin and, due to the leak being continuous rather on a 'per-build' basis, I'm inclined to think it's perforce polling or something similar.</p>
  
  <p>Any assistance would be greatly appreciated.</p>