2005 IR Help Posted August 26, 2006 Share Posted August 26, 2006 By: karthika - karthika can't solve out of memory error? 2004-06-23 23:19 can't solve out of memory error? By: Teodor Danciu - teodord RE: can't solve out of memory error? 2004-06-24 03:22 Hi, Have you used the -Xmx command line switch when you launched your JVM? I hope this helps. Teodor By: karthika - karthika RE: can't solve out of memory error? 2004-06-24 03:29 I am using Tomcat Web server . how can i set -Xmx By: Teodor Danciu - teodord RE: can't solve out of memory error? 2004-06-27 01:03 Hi, You can set this command line switch by setting the CATALINA_OPTS environment variable that Tomcat uses at startup. Check the Tomcat documentation. On Windows it is anout creating an environment variable in the Control Panel called CATALINA_OPTS and using something like this as a value: -Xmx 256m On Unix/Linux use this command: export CATALINA_OPTS="$CATALINA_OPTS -Xmx 256m" I hope this helps. Teodor Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now