tomcat out of memory

Michael Sig Birkmose birkmose at
Thu Apr 17 02:38:59 PDT 2003

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
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
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
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" <birkmose at>
To: <freebsd-stable at>
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
> 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 at mailing list
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at"

More information about the freebsd-stable mailing list