This forum is no longer active. Please post your questions to our new community site
Out of memory error + tomcat 6
|
|
Hi All, I am new to Liferay. I apologize if the topic repeated. I am using: JDK6, Eclipse 3.4, Tomcat 6, RAM of 2GB. I am getting following error when I start tomcat using Eclipse 3.4 IDE: SEVERE: Servlet.service() for servlet Friendly URL Servlet – Public threw exception I did following to resolve the above error: In Environment variables – set JAVA_OPTS = -Xms512m -Xmx1024m In tomcat..catalina.bat…updated this file as: set JAVA_OPTS = ..... -Xms512m -Xmx1024m However above settings were of no help for me… Let me know if any of you gone through this… Thanks |
|
|
Hi, Could you try to decrease the minimun free memory available changing the Xms512m parameter to Xms64m ? Cheers. |
|
|
Hi Beltran, Thanks for the quick reply… I changed JAVA_OPTS = Xms64m -Xmx1024m Still no luck…Now strangely error console throws a different error than before..it looks like - 16:15:04,906 ERROR [ErrorLogger:2156] An error occured while scanning for the next trigger to fire. |
|
|
Hi, In Windows you should to reinstall the Tomcat service. Have you reinstalled the service? Take a look this post: http://bitnami.org/forums/forums/4/topics/1041 Cheers. |
|
|
Hi, As the topic you suggest…I couldnt find apache-tomcat/scripts/serviceinstall.bat file in the bundled tomcat of liferay. In fact, there is no folder named scripts in tomcat version of liferay. Thanks |
|
|
Mmm it is strange. Are you using the BitNami Liferay Stack? It should be at C:\Program Files\BitNami Liferay Stack\apache-tomcat\scripts\serviceinstall.bat. |

