Passing parameters to VM?

I am not able to run openfire.sh

It gives an error

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

I figured out that this is because i am running it on a virtual dedicated server which has limited memory = 256MB

I need to pass some parameters to the Virtual Machine like : -Xmx16m

Where should i put this in openfire.sh ??? Can somebody upload a sample openfire.sh file with these parameters inserted ??

Hi,

you may want to take a look at Linux Installation Guide and Simple Start Scripts.

LG