tags:

views:

1361

answers:

3

Hi, i have Openfire 3.6.3 installed on my linux server . When i log into the openfire admin panel, Java Memory is showing 62.98 MB of 63.31 MB (99.5%) used . How can i increase the java memory?. Please guide me

+1  A: 

Find the command that starts Java and add this command line parameter: -Xmx<size>

For example, use -Xmx128m to let Java use 128 MB of memory. The full command might be something like /path/to/java -Xmx128m -jar openfire.jar

Jordan Miner
+1  A: 

Add a line like this in /etc/sysconfig/openfire

OPENFIRE_OPTS="-Xms256m -Xmx512m"

(Reference: site)

Andreas_D
A: 

Thanks Andreas it worked me for except for some path change my openfire is at /etc/default/openfire.

Pankaj Khurana