title: How to increase heap size for jBoss server
body: <p>I have an upload files scenario in my project.  When I'm trying to upload the large files it's giving me an OutOfMemory error.  That error is related to Java heap size.</p>
  
  <p>How can you increase the heap size in Java and which file do I need to alter for this?  I'm using jboss 5.1 server for running my application.</p>