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" <birkmose@cs.auc.dk>
To: <freebsd-stable@freebsd.org>
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"
>