title: How to you check memory usage and force garbage collection for jetty application
body: <p>I think I may have a memory leak in a servlet application running in production on jetty 8.1.7. </p>
  
  <ol>
  <li>Is there a way of seeing how much heap memory is actually being used at an instance of time, not the max memory allocated with -Xmx, but the actual amount of memory being used. </li>
  <li>Can I force a garbage collection to occur for an application running within jetty</li>
  </ol>