On Tue, Dec 27, 2011 at 4:59 PM, Jeff Dege <jeff.d...@korterra.com> wrote:

> On Thursday, December 22, 2011 1:18 AM, Andrea Aime <
> andrea.a...@gmail.com > wrote:
> >
> > On Thu, Dec 22, 2011 at 1:01 AM, Jeff Dege <jeff.d...@korterra.com>
> wrote:
> > >
> > > We're running GeoServer 2.1.0 on TomCat6 on an Ubunto 10.04 box, with
> a fairly modest load (just a few dozen
> > users), and we're having  repeated problems with Java out-of-memory
> errors.
> > >
> > > [...]
> > >
> > > Any ideas?
>
> > Over time we fixed a few memory leaks related to WFS usage, you might
> want to upgrade to 2.1.3.
>
> We have customers working against the current 2.1.0 system, so we can't
> just shut it down.  We'd need to bring up the new system in parallel, and
> move the data over.  Can you point me to any information on how to do that?
>

You just have to copy over the data directory (which you should always have
configured as a
external one):
http://docs.geoserver.org/stable/en/user/datadirectory/data-dir-setting.html


>
> > A way to investigate what is leaking is to wait for your server to get
> close to the OOM and then use
> > something like this on the command line (assuming the JDK is in your
> path):
> >
> >     jmap -histo:live <jvmProcessId>
> >
> > It will dump a histogram with the classes that use the most memory. See
> also:
> >
> http://docs.geoserver.org/latest/en/user/production/troubleshooting.html#jmap
>
> I'll look into finding a jmap for the Sun jdk.
>
>
jmap it's part of the Sun JDK, just look into the <jdk-root>/bin directory

Cheers
Andrea


-- 
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313
mob:    +39 339 8844549

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

Please take note that GeoSolutions will be closed for Christmas holidays
from 27/12 to 30/12

-------------------------------------------------------
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to