title: What are the advantages of specifiying memory limit of Java Virtual Machine?
body: <p>I have set the default memory limit of Java Virtual Machine while running Java Application like this...</p>
  
  <pre><code>java -mx128m ClassName
  </code></pre>
  
  <p>I Know this will set maximum memory allocation pool to 128MB, but I don't know what the benefit is, of specifying this memory limit of JVM?</p>
  
  <p>Please enlighten me in this issue...</p>