Coldfusion 7 needs more mememory than your JVM allows it to use. You need to 
increase maximum heap size. 

The following is for JSP, but solution is the same.

http://www.macromedia.com/cfusion/knowledgebase/index.cfm?id=tn_17470

--
Oleg Gunkin
Email: [EMAIL PROTECTED]
Phone: (604) 666-9392
Emerging Technologies / Pacific Web Services
Information Technology Services
Public Works and Government Services Canada (Pacific)

-----Original Message-----
From: Russ [mailto:[EMAIL PROTECTED]
Sent: Monday, April 10, 2006 16:14
To: CF-Talk
Subject: java.lang.OutOfMemoryError: unable to create new native thread


We've been having some server stability issues for a while since we've
switched over to CF7.  Now I notice that when the server crashes, we get the
following in the error logs.  Does anyone have any idea on what's causing it
and how to fix it?  I believe we are at the latest updater.  

 

Russ

 

 

04/10 19:00:14 error unable to create new native thread

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

            at java.lang.Thread.start(Native Method)

            at
coldfusion.server.j2ee.sql.pool.ConnectionRunner.fetchConnection(ConnectionR
unner.java:42)

            at
coldfusion.server.j2ee.sql.pool.JDBCPool.create(JDBCPool.java:519)

            at
coldfusion.server.j2ee.sql.pool.JDBCPool._checkOut(JDBCPool.java:444)

            at
coldfusion.server.j2ee.sql.pool.JDBCPool.checkOut(JDBCPool.java:350)

            at
coldfusion.server.j2ee.sql.pool.JDBCPool.requestConnection(JDBCPool.java:720
)

            at
coldfusion.server.j2ee.sql.pool.JDBCManager.requestConnection(JDBCManager.ja
va:123)

            at
coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:
138)

            at
coldfusion.server.j2ee.sql.JRunDataSource.getConnection(JRunDataSource.java:
125)

            at
coldfusion.sql.CFDataSource.getConnection(CFDataSource.java:37)

            at
coldfusion.sql.DataSrcImpl.getCachedConnection(DataSrcImpl.java:149)

            at coldfusion.sql.DataSrcImpl.getConnection(DataSrcImpl.java:98)

            at coldfusion.runtime.JDBCHelper.Get(PersistenceFactory.java:94)

            at
coldfusion.runtime.ClientScopeServiceImpl.GetClientScope(ClientScopeServiceI
mpl.java:230)

            at
coldfusion.runtime.AppHelper.setupClientScope(AppHelper.java:471)

            at
coldfusion.tagext.lang.ApplicationTag.doStartTag(ApplicationTag.java:247)

            at coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.java:1915)

            at
cfApplication2ecfm1822256882.runPage(\\hms\cf\www\Application.cfm:7)

            at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:152)

            at
coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:349)

            at
coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)

            at
coldfusion.filter.CfincludeFilter.include(CfincludeFilter.java:33)

            at
coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:156)

            at
coldfusion.filter.RequestMonitorFilter.invoke(RequestMonitorFilter.java:51)

            at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)

            at
coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:69)

            at
coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:52)

            at
coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistence
Filter.java:28)

            at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)

            at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)

            at
coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)

            at
coldfusion.filter.RequestThrottleFilter.invoke(RequestThrottleFilter.java:11
5)

            at coldfusion.CfmServlet.service(CfmServlet.java:107)

            at
coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:78)

            at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)

            at com.seefusion.Filter.doFilter(Filter.java:40)

            at com.seefusion.SeeFusion.doFilter(SeeFusion.java:934)

            at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

            at RealIp.doFilter(RealIp.java:62)

            at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)

            at jrun.servlet.FilterChain.service(FilterChain.java:101)

            at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:91)

            at
jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)

            at
jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:257)

            at
jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:541)

            at
jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:204)

            at
jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:
318)

            at
jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:426
)

            at
jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:26
4)

            at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:237401
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to