How to Increase Java Memory


I have running openfire 3.9.3

I have read some similar question about this. but i can’t make it right specially the file **openfired.vmoptions extension **

Please see my attache file option1 and option2

This is the content of the file





I try the Option1 but the icon still like notepad. =( and the java memory is not changing