On Fri, Dec 20, 2013 at 2:21 PM, Tom (JDi Solutions) <
[email protected]> wrote:

> Windows Server 2008
> Geoserver 2.3.5
> Java 1.7.13 64bit
>
> Hi all,
>
> Every so often Geoserver stops responding for about 20 minutes at a time.
> This generally happens every couple of days depending on usage.  The errors
> reported in the log are as follows:
>
> 2013-12-20 12:05:07,990 WARN [geotools.jdbc] - There is code leaving
> feature readers/iterators open, this is leaking statements and connections!
> 2013-12-20 12:17:52,501 ERROR [geotools.map] - Call MapContent dispose()
> to prevent memory leaks
> 2013-12-20 12:17:54,357 ERROR [geoserver.ows] -
> java.lang.OutOfMemoryError: Java heap space
>
> Geoserver eventually restarts itself and starts responding again.
>
> I am going to assign some more memory but it already uses 1.5GB and I
> suspect that may simply allow it to last longer before crashing?  My
> question is, is there anything else I can do?  Is this fixed in later
> versions?  Does the data source type matter?  We're using Oracle which I
> know can be a memory hog for client connections.
>

Hmm... I can't think of any known memory leak in recent versions of
GeoServer.
The best thing to do is to make it go OOM, or very close to it, and then
use jmap -histo and report
back what is filling the memory.
A full memory dump, which can also be obtained with jmap, would also be
useful.

Both options are described here (not the first two usages, the 3rd and the
4th):
http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap

Cheers
Andrea

-- 
*== GeoSolutions will be closed for seasonal holidays from 23/12/2013 to
06/01/2014 ==*

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

-------------------------------------------------------
------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to