That give me another question. Why on this RH Linux system when issuing the java command I get:

Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine.

That's why I put the -Xmx64m. Now I just changed it to this:

/usr/java/jdk1.5.0_02/bin/java -Xms48m -Xmx64m -Xss1m -server -Xincgc -Xrs

I thought when Tomcat ran out of ram it left a log entry? Hum, well, you think increasing ram will help? The thing is, both of these services are not used much.

Caldarale, Charles R wrote:

From: samsher khan [mailto:[EMAIL PROTECTED]
Subject: RE: Tomcat 5 on VPS service stops

But I don't think memory is any problem I have more
than 500 mb ram on my system



But by setting -Xmx64m, you're limiting the Java heap to only 64 MB, and that has to be partitioned into eden space, two tenured spaces, and the permanent generation. How much real memory you have is immaterial in this case.

- Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

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





-- Justin Stanczak Stanczak Group 812-735-3600

"All that is necessary for the triumph of evil is that good men do nothing."
Edmund Burke

..________...............__.................
./  _____/..____..._____/..|_..____...____....
/...\..____/.__.\./....\...__\/.._.\./._..\....
\....\_\..\..___/|...|..\..|.(..<_>.|.<_>..)....
.\______../\___.._\__|../__|..\____/.\____/......
........\/.....\/.....\/..........................


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



Reply via email to