Increasing Java Memory

I just ran into a problem where my Java VM memory was pegged. I increased it from 64mb to 256mb and all is well for now. My question is what should be an acceptable limit for 400 users? Also are switching to Spark as the client if that makes a difference for this?

Thanks

my observation it should be twice of the user size in your case I will suggest 800 to 1000MB

sbrissen forums@jivesoftware.com wrote: amolkel,

A new message was posted in the thread “Increasing Java Memory”:

http://www.igniterealtime.org/community/message/164485

Author : sbrissen

Profile : http://www.igniterealtime.org/community/people/sbrissen

Message:

For FreeBSD users, add a line similar to the following to /etc/rc.conf:

openfire_javargs="-Xms512m -Xmx1024m"

Then bound Openfire:

/usr/local/etc/rc.d restart

Hello everybody,

what about Solaris 10 version of openfire ? Which config file and which settings should I change ?

Thank you.

Below mine settings on fbsd:

openfire_javargs="-Xms256M -Xmx512M -Djava.net.preferIPv4Stack=true"

but my system is not very big implementation so suppose these memory settings (default ?) would be sufficient.**
**

Perfect, it works for me too.

I use CentOS 7

Where would you add that line 6 in a windows 2003 install ?

i am very confused about it. . .