I am having a problem on my Tomcat server , I am receiving an OutOfMemory exception.I tried to increase the memory by setting the paramaters -Xmx and -Xms to 258m from the command line (I am using JBuilderX and Tomcat 4.1) and it is working, but know I must sets the parameters to my Tomcat server.I tried to set the parameters to Catalina.bat , but it is not working.

Can anybody help me?

Thank you very much.