Allocate more Java heap space to your container for a start Graham H
From: Vinay Kumar <vinay1992...@outlook.com> Sent: Wednesday, May 29, 2024 10:09 AM To: geoserver-users@lists.sourceforge.net Subject: [Geoserver-users] Java heap space java.lang.OutOfMemoryError: Java heap space You don't often get email from vinay1992...@outlook.com<mailto:vinay1992...@outlook.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> HI I have going through geoserver error where geoserver 2.17.2 - getting Java heap space java.lang.OutOfMemoryError: Java heap space . But here we have port 8080 working fine but port 8443 showing below error. Is there any way to identify the main issue it is related to Tile service issue or connection pool or Java memory issue. Caused by: java.io.UncheckedIOException: java.io.FileNotFoundException: C:\geoserver-2.17.2-bin\webapps\geoserver\data\gwc\postgis_layer_p\metadata.properties (Access is denied) at org.geowebcache.storage.blobstore.file.FileBlobStore.putLayerMetadata(FileBlobStore.java:669) at org.geowebcache.storage.blobstore.file.FileBlobStore.persistParameterMap(FileBlobStore.java:572) at org.geowebcache.storage.blobstore.file.FileBlobStore.writeFile(FileBlobStore.java:557) at org.geowebcache.storage.blobstore.file.FileBlobStore.put(FileBlobStore.java:477) at org.geowebcache.storage.CompositeBlobStore.lambda$put$6(CompositeBlobStore.java:182) at org.geowebcache.storage.CompositeBlobStore.lambda$readActionUnsafe$20(CompositeBlobStore.java:504) at org.geowebcache.storage.CompositeBlobStore.readFunctionUnsafe(CompositeBlobStore.java:486) at org.geowebcache.storage.CompositeBlobStore.readActionUnsafe(CompositeBlobStore.java:501) at org.geowebcache.storage.CompositeBlobStore.put(CompositeBlobStore.java:182) at org.geoserver.gwc.ConfigurableBlobStore.put(ConfigurableBlobStore.java:225) at org.geowebcache.storage.DefaultStorageBroker.put(DefaultStorageBroker.java:85) at org.geowebcache.layer.TileLayer.saveTiles(TileLayer.java:545) at org.geoserver.gwc.layer.GeoServerTileLayer.getMetatilingReponse(GeoServerTileLayer.java:654) ... 115 more Caused by: java.io.FileNotFoundException: C:\geoserver-2.17.2-bin\webapps\geoserver\data\gwc\postgis_layer\metadata.properties (Access is denied) at java.io.FileOutputStream.open0(Native Method) at java.io.FileOutputStream.open(FileOutputStream.java:270) at java.io.FileOutputStream.<init>(FileOutputStream.java:213) at java.io.FileOutputStream.<init>(FileOutputStream.java:162) at org.geowebcache.storage.blobstore.file.FileBlobStore.putLayerMetadata(FileBlobStore.java:665) ... 127 more 28 May 16:36:50 INFO [geoserver.wms] - Request: getServiceInfo 28 May 16:36:50 INFO [geoserver.servlets] - OutputStream was successfully aborted. 28 May 16:36:51 INFO [geoserver.wfs] - Request: getServiceInfo 28 May 16:36:58 ERROR [renderer.lite] - Java heap space java.lang.OutOfMemoryError: Java heap space 28 May 16:38:09 INFO [geoserver.servlets] - OutputStream was successfully aborted. ---------------------------------------------------- Other error when accessing geoserver layer is attached. ---------------------------- HTTP ERROR 500 Problem accessing /geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage. Reason: Server Error Caused by: javax.servlet.ServletException: org.springframework.web.util.NestedServletException: Handler dispatch failed; nested exception is java.lang.OutOfMemoryErro at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:168) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:505) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:370) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:267) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:305) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:103) at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:427) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:321) at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:159) ---------------------- at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1610) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201) 5/28/24, 11:15 PM Error 500 Server Error https://localhost:8443/geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage?filter=false 2/3 at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119) at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1602) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:540) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:146) Regards, Vinay K ________________________________ CONFIDENTIALITY NOTICE AND DISCLAIMER The information in this transmission may be confidential and/or protected by legal professional privilege, and is intended only for the person or persons to whom it is addressed. If you are not such a person, you are warned that any disclosure, copying or dissemination of the information is unauthorised. If you have received the transmission in error, please immediately contact this office by telephone, fax or email, to inform us of the error and to enable arrangements to be made for the destruction of the transmission, or its return at our cost. No liability is accepted for any unauthorised use of the information contained in this transmission.
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users