- Now we are using embeded HSQLDB. If we change to use mysql db instead, will we not get jvm memory full problem?
Definitely you should use some external database like MySQL for such userbase. Embedded database is stored in the memory when Openfire is running, so it has some impact on the memory consumption.