On Mon, Oct 10, 2011 at 3:21 PM, Micka <mickamus...@gmail.com> wrote:
> here is an another result of the command :
>  num     #instances         #bytes  class name
> ----------------------------------------------
>    1:         51870       29907984  [B
>    2:        143385       23236400  <constMethodKlass>
>    3:        143385       19519080  <methodKlass>
>    4:         13757       16819968  <constantPoolKlass>

In all the dumps you showed the memory used by the byte[] and int[],
which store image
tiles, but none of them shows too large memory usage, the values I see
go between
30 and 100MB

Let's get back a moment... how do you determine there is a memory leak?
A memory leak in java always results in the server throwing an endless
number of
OOM execptions (which are logged in the logs), the moment it starts
throwing them
it does not stop.

If you assume there is a leak because the memory used by the JVM grows, that's
not it: any JVM under pressure (you're seeding the tile cache) will
allocate more and
more memory until it reaches the limits set by -Xmx, and it's very
unlikely that it
will ever give it back.
So the normal situation is that you see the JVM use more and more memory for
a while, but then it stops and hovers at the same memory usage (as seen from the
OS) ever after

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

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

-------------------------------------------------------

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to