[jboss-user] [Installation, Configuration & Deployment] - Re: Problem setting heap size in an embedded server

visolvejboss do-not-reply at jboss.com
Wed Aug 23 05:02:19 EDT 2006


Hello,

   You should change the JAVA_OPTS value in the <JBOSS_HOME>/bin/run.conf file to increase the heap size.



  | JAVA_OPTS="-server-Xms128m -Xmx512m-Dsun.rmi.dgc.client.gcInterval=3600000 -Dsun.rmi.dgc.server.gcInterval=3600000"
  | 

Here,

  The minimum heap size is 128m and you can set the maximum heap size to any value. Some example parameters for maximum heap size is 512m, 1024m and 2048m.


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

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



More information about the jboss-user mailing list