I created openfired.vmoptions and openfire-service.vmoptions in the C:\Program Files\Openfire\bin and then i entered these commands:
-Xms512m -Xmx1024m
after i entered the above commands and then save it. I started the openfire application and an error prompts "The JVM could not be started.The maximum heap size (-Xmx) might too large or an antivirus or firewall too could block the execution."
I already turned off the firewall and have no antivirus installed. I have attached a screenshot for reference. Thanks