2 Replies Latest reply on Dec 7, 2015 1:51 AM by veeras

    Jboss 7.1.1 Final occuping huge physical RAM of linux

    veeras Newbie

      I am using jboss 7.1.1 Final with jdk version 1.6.0_45 and while starting jboss i just configured 5gb for heap and 1gb for non-heap. My Linux complete RAM size is around 60GB. After starting jboss some time i can see from linux top command its occupied ram is 50GB. Moreover from jconsole & jvisualvm tool i can see my jboss ram utilization keep up & down reaching max 90% ( approx. using between 4-5 gb)



      top - 11:52:35 up 1 day, 17:40,  4 users,  load average: 0.89, 1.20, 1.27
      Tasks: 174 total,   1 running, 173 sleeping,   0 stopped,   0 zombie
      Cpu(s): 12.1%us,  1.8%sy,  0.0%ni, 85.8%id,  0.0%wa,  0.1%hi,  0.2%si,  0.0%st
      Mem:   62.948G total,   49.872G used,   13.076G free,  347.309M buffers
      Swap: 8197.219M total,   0.000k used, 8197.219M free, 2053.590M cached



      And Jboss parameters are like this :

      -D[Standalone] -server -Xms5120m -Xmx5120m -XX:MaxPermSize=1024m -XX:PermSize=1024m -Djava.net.preferIPv4Stack=true -Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000 -Dorg.jboss.resolver.warning=true -XX:+UseConcMarkSweepGC -XX:+CMSPermGenSweepingEnabled -XX:+UseParNewGC


      Please help out why more Linux RAM is consumed ????


      Regards

      James