Return-Path: Delivered-To: apmail-jakarta-tomcat-user-archive@apache.org Received: (qmail 97047 invoked from network); 5 May 2003 20:37:15 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 5 May 2003 20:37:15 -0000 Received: (qmail 13088 invoked by uid 97); 5 May 2003 20:39:22 -0000 Delivered-To: qmlist-jakarta-archive-tomcat-user@nagoya.betaversion.org Received: (qmail 13081 invoked from network); 5 May 2003 20:39:21 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 5 May 2003 20:39:21 -0000 Received: (qmail 95644 invoked by uid 500); 5 May 2003 20:37:01 -0000 Mailing-List: contact tomcat-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Tomcat Users List" Reply-To: "Tomcat Users List" Delivered-To: mailing list tomcat-user@jakarta.apache.org Received: (qmail 95631 invoked from network); 5 May 2003 20:37:01 -0000 Received: from unknown (HELO mail.performancehosting.net) (216.139.207.114) by daedalus.apache.org with SMTP; 5 May 2003 20:37:01 -0000 Received: (qmail 23790 invoked by uid 0); 5 May 2003 20:41:54 -0000 Received: from unknown (HELO watcher) (66.169.98.213) by mail.performancehosting.net with SMTP; 5 May 2003 20:41:54 -0000 From: "PerformanceHosting" To: Subject: Tomcat & Memory handling... Date: Mon, 5 May 2003 15:38:06 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hello. I've been using Tomcat now for quite some time. I've upgraded to 4.1.24, and I've noticed that when it loads each virtual host's context it in a sense "reserves" memory for each one. This, in turn, decreases the overall RAM on my server. The problem is that it seems to "lock" the memory into each virtual host and doesn't allow it to "swap" with other virtual hosts configured in the server.xml file. is there a way to get Tomcat to "share" or "swap" memory it reserves for each virtual host instead of "reserving" it? This problem culminates in an `out of memory` error and Tomcat hangs up. Does anyone out there have a shared hosting environment with similar issues? How do you resolve this? is the only way to resolve this to add more RAM? Thanks --------------------------------------------------------------------- To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: tomcat-user-help@jakarta.apache.org