continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wendy Smoak" <wsm...@gmail.com>
Subject Re: Getting "java.lang.OutOfMemoryError: unable to create new native thread"
Date Mon, 09 Jun 2008 16:02:03 GMT
On Mon, Jun 9, 2008 at 8:52 AM, Paul Spencer <paulsp@apache.org> wrote:

> Now that I have Archiva and Continuum running in the same Tomcat 6.0.16, I
> am seeing the exception "java.lang.OutOfMemoryError: unable to create new
> native thread" in catalina.out.
>
> JVM = build 1.5.0.01
> OS = HP-UX 11.11

That looks familiar. :)  Who is the JDK vendor?  (ISTR that something
in Redback requires a Sun JDK...)

>> java.lang.OutOfMemoryError: unable to create new native thread

> I suspect the memory and/or stack configuration need to be altered, but I am
> not sure which ones to alter.  Currently CATALINA_OPT =
> '-Dapplication.base=$ARCHIVA_BASE -Dapplication.home=$ARCHIVA_BASE"

If the message is in the Catalina log, you probably need to give
Tomcat itself more memory.  This might help:
http://wiki.apache.org/tomcat/FAQ/Memory

-- 
Wendy

Mime
View raw message