can't solve out of memory error?

0
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
2005 IR Help's picture
Joined: Aug 9 2006 - 3:40am
Last seen: 8 years 1 week ago

Answers:

No answers yet
Feedback
randomness