title: memory usage of grails application
body: <p>I want to know about how much memory can a grails application use.
  Does it depend on the number of domain classes, plugins installed?
  I am develpoing an application and when I test it on tomcat it continuously goes out of memory.
  currently using almost 500MB.</p>
  
  <p>Moreover if this is not the case, can you suggest me what methods of memory management can be used?</p>