how to fix memory leak?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1473510/general-strategy-to-resolve-java-memory-leak">General strategy to resolve Java memory leak?</a>  </p>
</blockquote>



<p>I have a standalone program that I run locally, Recently I found that it has a memory leak, right now our only solution is to restart it every day. What is the best way to go about finding this memory leak? Which tool and method should we use?</p>

<p>thanks in advance</p>
