How to modify the java memory?

How to modify the java memory?I modify the file /etc/sysconfig/opfire,remove notes OPENFIRE_OPTS="-Xmx1024m",but when i log into the admin console, the java memory shown on the page is still 64M.Have i modified the java memory?

Hi,

did you restart Openfire?

LG

yes,i restart the Openfire,even restart the system,but it’s still 64M.if i modify the the file /etc/sysconfig/opfire,remove notes OPENFIRE_OPTS="-Xmx1024m", when i log into the admin console, is it shown 1024M?

Hi,

you may want to post / attach your start script here so one can take a look at it as long as Openfire does not display 1GB max memory.

LG