cancel
Showing results for 
Search instead for 
Did you mean: 

OutOfMemoryError: unable to create new native thread

jbsarma
Champ in-the-making
Champ in-the-making
I installed Alfresco using alfresco-community-4.0.x-installer-linux-x64.bin on Centos 5.5 with my server IP (instead of deafult IP) and tomact port 8280. But when I go to http://62.75.161.43:8280/share I find a
Firefox can't establish a connection to the server at 62.75.161.43:8280
I had a look at the tomact log catalina.out file and found this entry
java.lang.OutOfMemoryError: unable to create new native thread
Error occurred during initialization of VM
Cannot create VM thread. Out of system resources.
I get the following output when I start alfresco
[root@euve3992 ~]# service alfresco start
/opt/alfresco-4.0.c/postgresql/scripts/ctl.sh : postgresql  (pid 30584) already running
Using CATALINA_BASE:   /opt/alfresco-4.0.c/tomcat
Using CATALINA_HOME:   /opt/alfresco-4.0.c/tomcat
Using CATALINA_TMPDIR: /opt/alfresco-4.0.c/tomcat/temp
Using JRE_HOME:        /opt/alfresco-4.0.c/java
Using CLASSPATH:       /opt/alfresco-4.0.c/tomcat/bin/bootstrap.jar
/opt/alfresco-4.0.c/tomcat/scripts/ctl.sh : tomcat started
Please help what may be going wrong. I am new to Alfresco.
1 REPLY 1

openpj
Elite Collaborator
Elite Collaborator
Probably you only need to change the JVM settings about memory.
Could you share with us the JVM settings?

I suggest to install Alfresco without use the installer package, because it is not the right package to install Alfresco in a production environment.