continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Spencer <pau...@apache.org>
Subject Re: Getting "java.lang.OutOfMemoryError: unable to create new native thread"
Date Mon, 09 Jun 2008 16:17:19 GMT
Wendy Smoak wrote:
> 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_HOME/bin/java -version
java version "1.5.0.01" Java(TM) 2 Runtime Environment, Standard Edition 
(build 1.5.0.01-_06_jun_2005_05_20)
Java HotSpot(TM) Server VM (build 1.5.0.01 jinteg:06.06.05-04:39 PA2.0 
(aCC_AP), mixed mode)


> 
>>> 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
> 

Paul Spencer


Mime
View raw message