This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
The moose likes Tomcat and the fly likes urgent  JVM memory size, Please reply Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "urgent  JVM memory size, Please reply" Watch "urgent  JVM memory size, Please reply" New topic

urgent JVM memory size, Please reply

vikas mishra

Joined: Jan 28, 2004
Posts: 26
can i increase jvm memory size with jsp.
i m useing tomcat4

or there is any other way to do this

Have tried setting the CATALINA_OPTS="-Xmx128m -Xms128m" environment variable, but seems to have no effect
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Try setting the JAVA_OPTS variable in the Catalina.bat file that actually starts Tomcat, rather than as an Environment variable.

I think we had another message thread on memory recently, try searching.

Do you honestly think that "urgent" "please reply" will have any effect on whether or not you get an answer?

[ June 09, 2004: Message edited by: William Brogden ]
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

vikas, I deleted your first 'urgent' post, which you had posted only about 10 minutes previous to this one.

One thing to consider in the future, is that a large number of javaranch users are potentially in a different timezone than you. I certainly wasn't awake at 6AM this morning.
I agree. Here's the link:
subject: urgent JVM memory size, Please reply
It's not a secret anymore!