Java Memory Set Up

Hi everybody. I’ve got another question here…

We are thinking about an implementation of Openfire with 2000 to 3000 users, how much java memory should I set?

What would be the problem if we run out of memory? (clients unable to connect, message delays, etc)



Hi Joaquin,

read Openfire Requirements and take a look at the other documents for setting up Openfire and memory values. JVM Settings and Debugging may also be interesting.

If you have little free memory the JVM will use a lot of CPU cycles to free memory (==> Openfire gets very slow) and if this is not enough you’ll get also OutOfMemory errors (when creating a new socket some memory is needed, so new connections may fail - but also existing connections may be affected).