Where do you check how much memory is reserved for the JVM? Do you use service or run Openfire via launcher? Are you sure you have created the openfired.vmoptions file and not the text file openfired.vmoptions.txt? It must have an extesnion .vmoptions, not the .txt. I have tested with openfired and it works fine.