From owner-freebsd-stable@FreeBSD.ORG Thu Apr 17 02:38:59 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4CC2637B401 for ; Thu, 17 Apr 2003 02:38:59 -0700 (PDT) Received: from gisp.dk (62.79.61.146.adsl.aboes.worldonline.dk [62.79.61.146]) by mx1.FreeBSD.org (Postfix) with SMTP id E4EEA43FD7 for ; Thu, 17 Apr 2003 02:38:57 -0700 (PDT) (envelope-from birkmose@cs.auc.dk) Received: (qmail 87239 invoked by uid 85); 17 Apr 2003 09:48:57 -0000 Received: from birkmose@cs.auc.dk by server.gisp.dk by uid 82 with qmail-scanner-1.16 (clamscan: 0.54. spamassassin: 2.53. Clear:. Processed in 0.160327 secs); 17 Apr 2003 09:48:57 -0000 Received: from unknown (HELO mrwinslows) (192.168.1.4) by 192.168.1.2 with SMTP; 17 Apr 2003 09:48:57 -0000 Message-ID: <002401c304c5$14afa670$0401a8c0@mrwinslows> From: "Michael Sig Birkmose" To: References: <200304171610.39239.doconnor@gsoft.com.au> <001001c304c3$3acf3de0$0401a8c0@mrwinslows> Date: Thu, 17 Apr 2003 11:38:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Subject: Re: tomcat out of memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2003 09:38:59 -0000 hmmm i tried installing the linux-blackdown-jdk1.3.1 port and now the problem doesnt seem to be present. -bash-2.05b$ /usr/local/jdk1.3.1/bin/java -version java version "1.3.1-p8" Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1-p8-root-030414-22:54) Classic VM (build 1.3.1-p8-root-030414-22:54, green threads, nojit) -bash-2.05b$ /usr/local/linux-blackdown-jdk1.3.1/bin/java -version java version "1.3.1" Java(TM) 2 Runtime Environment, Standard Edition (build Blackdown-1.3.1-02b-FCS) Classic VM (build Blackdown-1.3.1-02b-FCS, native threads, nojit) blackdown runs native threads and the other runs green threads... what is the difference? Is green threads some sort of userland threads - and if yes then hovecome I got the out of memory error with those and not the native ones? When i run top now it appears that the server also uses far less mem than before - any inputs? ----- Original Message ----- From: "Michael Sig Birkmose" To: Sent: Thursday, April 17, 2003 11:25 AM Subject: tomcat out of memory > Hi everyone! > > I am running a FreeBSD 4.8 server with jdk1.3 and tomcat 4.06 and I occours > quite often when using my servlets I get theexception: > java.lang.OutOfMemoryError: > > My servlets are not very heavy, and top shows me that the is 71M inactive > mem + 43M free + 1024M free swap space. > My server has 512M ram.. > > Any input on what could be going wrong? Could I have told java not to use > enough memory somehow? > > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >