it's a Windows 2008 standard R2 64 bit. The jboss version is jdk-6u43-windows-x64 and in bin directory the configuration of run.bat is
run.bat
set JAVA_OPTS=%JAVA_OPTS% -Xms2048M -Xmx2048M -XX:PermSize=512M -XX:MaxPermSize=512M
in run.config
JAVA_OPTS="-Xms512m -Xmx2048m -Dsun.rmi.dgc.client.gcInterval=6000 -Dsun.rmi.dgc.server.gcInterval=6000"
After every 1 hour the application (.ear) file is getting undeployed.