i have deployed our application in 4GB RAM redhat linux machine;our application size is 9 MB.
after some time application gets hanging and it takes lot of time to process .in jboss-4.0.2 where to set memory options mainly GC options to reclaim memory.