Hi,
In my opinion, you should set the java-options for the tomcat -Xms and -Xmx to 
increase the minimum/maximum memory.

See also http://docs.geoserver.org/latest/en/user/production/linuxscript.html

For example -Xms1024m and -Xmx3072m

Test your installation and your needs, also depending of your system.

Greetings
Stefan

> -----Original Message-----
> From: [email protected] [mailto:[email protected]] 
> Sent: Thursday, October 25, 2012 5:36 PM
> To: [email protected]
> Subject: [bulk]: Re: [Geoserver-users] java heap space ERROR
> 
> 
> i get this error in my tomcat log file
> 
> 
>       at  
> org.springframework.security.util.FilterChainProxy$VirtualFilt
> erChain.doFilter(FilterChainProxy.java:406)
>       at  
> org.springframework.security.context.HttpSessionContextIntegra
> tionFilter.doFilterHttp(HttpSessionContextIntegrationFilter.java:235)
>       at  
> org.springframework.security.ui.SpringSecurityFilter.doFilter(
> SpringSecurityFilter.java:53)
>       at  
> org.springframework.security.util.FilterChainProxy$VirtualFilt
> erChain.doFilter(FilterChainProxy.java:406)
>       at  
> org.springframework.security.util.FilterChainProxy.doFilter(Fi
> lterChainProxy.java:185)
>       at  
> org.springframework.security.util.FilterToBeanProxy.doFilter(F
> ilterToBeanProxy.java:99)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:235)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:206)
>       at 
> org.geoserver.filters.LoggingFilter.doFilter(LoggingFilter.java:71)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:235)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:206)
>       at  
> org.geoserver.filters.ReverseProxyFilter.doFilter(ReverseProxy
> Filter.java:183)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:235)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:206)
>       at org.geoserver.filters.GZIPFilter.doFilter(GZIPFilter.java:41)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:235)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:206)
>       at  
> org.geoserver.filters.SessionDebugFilter.doFilter(SessionDebug
> Filter.java:46)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilt
> er(ApplicationFilterChain.java:235)
>       at  
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Appli
> cationFilterChain.java:206)
>       at  
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardW
> rapperValve.java:233)
>       at  
> org.apache.catalina.core.StandardContextValve.invoke(StandardC
> ontextValve.java:175)
>       at  
> org.apache.catalina.core.StandardHostValve.invoke(StandardHost
> Valve.java:128)
>       at  
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReport
> Valve.java:102)
>       at  
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEn
> gineValve.java:109)
>       at  
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdap
> ter.java:286)
>       at 
> org.apache.coyote.http11.Http11Processor.process(Http11Process
> or.java:844)
>       at  
> org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandle
> r.process(Http11Protocol.java:583)
>       at 
> org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.
> java:447)
>       at java.lang.Thread.run(Unknown Source)
> Caused by: java.lang.RuntimeException: java.io.IOException
>       at  
> org.geotools.data.store.ContentFeatureCollection.features(Cont
> entFeatureCollection.java:212)
>       at  
> org.geotools.data.store.ContentFeatureCollection.features(Cont
> entFeatureCollection.java:62)
>       at  
> org.geotools.data.crs.ForceCoordinateSystemFeatureResults.open
> Iterator(ForceCoordinateSystemFeatureResults.java:94)
>       at  
> org.geotools.feature.collection.AbstractFeatureCollection.iter
> ator(AbstractFeatureCollection.java:342)
>       at  
> org.geotools.renderer.lite.StreamingRenderer.drawPlain(Streami
> ngRenderer.java:2004)
>       at  
> org.geotools.renderer.lite.StreamingRenderer.processStylers(St
> reamingRenderer.java:1940)
>       at  
> org.geotools.renderer.lite.StreamingRenderer.paint(StreamingRe
> nderer.java:772)
>       at  
> org.geoserver.wms.map.RenderedImageMapOutputFormat.produceMap(
RenderedImageMapOutputFormat.java:486)
>       ... 91 more
> Caused by: java.io.IOException
>       at  
> org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeat
> ureSource.java:576)
>       at  
> org.geotools.jdbc.JDBCFeatureStore.getReaderInternal(JDBCFeatu
> reStore.java:210)
>       at  
> org.geotools.data.store.ContentFeatureSource.getReader(Content
> FeatureSource.java:484)
>       at  
> org.geotools.data.store.ContentFeatureCollection.features(Cont
> entFeatureCollection.java:209)
>       ... 98 more
> Caused by: org.postgresql.util.PSQLException: Ran out of memory  
> retrieving query results.
>       at  
> org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryE
> xecutorImpl.java:1777)
>       at  
> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutor
> Impl.java:257)
>       at  
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJd
> bc2Statement.java:479)
>       at  
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeWithFlags(A
> bstractJdbc2Statement.java:353)
>       at  
> org.postgresql.jdbc2.AbstractJdbc2Statement.executeQuery(Abstr
> actJdbc2Statement.java:252)
>       at  
> org.apache.commons.dbcp.DelegatingStatement.executeQuery(Deleg
> atingStatement.java:208)
>       at  
> org.apache.commons.dbcp.DelegatingStatement.executeQuery(Deleg
> atingStatement.java:208)
>       at 
> org.geotools.jdbc.JDBCFeatureReader.<init>(JDBCFeatureReader.java:150)
>       at  
> org.geotools.jdbc.JDBCFeatureSource.getReaderInternal(JDBCFeat
> ureSource.java:567)
>       ... 101 more
> Caused by: java.lang.OutOfMemoryError: Java heap space
> 25 oct 17:14:37 INFO [geoserver.wms] -
> Request: getServiceInfo
> 25 oct 17:14:39 INFO [geoserver.wms] -
> Request: getServiceInfo
> 25 oct 17:14:39 INFO [geoserver.wms] -
> Request: getLegendGraphic
> 
> [email protected] escribió:
> 
> > Hi people, i saw in my firebug console that one of my transactions
> > "always happen with wfs and some times with the wms" is having an
> > error and i begun when i change my app server to apache tomcat, am
> > using windows, and i dont know what to do, the web application is
> > going slowly and some times the wms layers dont ends loading.
> >
> > ----------------------------------------------------------------
> > This message was sent using IMP, the Internet Messaging Program.
> >
> >
> >
> > --
> >
> > Este mensaje le ha llegado mediante el servicio de correo  
> > electronico que ofrece Infomed para respaldar el 
> cumplimiento de las  
> > misiones del Sistema Nacional de Salud. La persona que envia este  
> > correo asume el compromiso de usar el servicio a tales fines y  
> > cumplir con las regulaciones establecidas
> >
> > Infomed: http://www.sld.cu/
> >
> > 
> --------------------------------------------------------------
> ----------------
> > Everyone hates slow websites. So do we.
> > Make your web apps faster with AppDynamics
> > Download AppDynamics Lite for free today:
> > http://p.sf.net/sfu/appdyn_sfd2d_oct
> > _______________________________________________
> > Geoserver-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geoserver-users
> >
> 
> 
> 
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
> 
> 
> --
> 
> Este mensaje le ha llegado mediante el servicio de correo 
> electronico que ofrece Infomed para respaldar el cumplimiento 
> de las misiones del Sistema Nacional de Salud. La persona que 
> envia este correo asume el compromiso de usar el servicio a 
> tales fines y cumplir con las regulaciones establecidas
> 
> Infomed: http://www.sld.cu/
> 
> --------------------------------------------------------------
> ----------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_sfd2d_oct
> _______________________________________________
> Geoserver-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
> 

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to