Hi Jagadeesh

The size of the war file will have very little impact on you receiving the 
OutOfMemoryException.  Typically, this can be caused by either your application 
creating Objects on the Heap where a reference is retained to the Object 
(memory leak) or through resource contention.  

What size of Heap do you have set?  How much physical memory is available?  
What is the size of the various generations and the permanent space? You also 
want to address questions like: what Objects are being allocated in my 
application? which ones are surviving garbage collections?

To answer the latter, you should use some kind of memory profiling tool to find 
these "loitering objects" and remove the references.  You will also want to 
examine the various JVM settings you have set and have available to you.

Hope this helps

Mark

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925633#3925633

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925633


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to