Set an environment variable called JAVA_OPTS and set your max and min to
whatever you want like this...

-Xmx512m -Xms256m

Brandon

-----Original Message-----
From: Ming Zhao [mailto:[EMAIL PROTECTED]]
Sent: Thursday, December 05, 2002 11:49 AM
To: [EMAIL PROTECTED]
Subject: How to set JVM memory size?


Hi,

I have a question to seek for your help. How do I set
the JVM memory size? I use Apache Tomcat4.1.16 and
J2SDK1.3. Now it seems that I have a problem of not
enough memory to implement the java bean. I want to
set JVM memory with writing some commands to some
file. So Tomcat can activate J2SDK with set memory
size. How to do that?

Thanks in advance,
Ming

__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to