lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Au" <bill.w...@gmail.com>
Subject Re: Memory leak (JVM 1.6 only)
Date Fri, 18 May 2007 14:43:17 GMT
I actually had to deal with a leak in non-heap native memory once.  I am
running on Linux so I just use good old "ps" to monitor native memory usage.

Bill

On 5/18/07, Stephen Gray <Stephen.Gray@anu.edu.au> wrote:
>
> Thanks. If the extra memory allocated is native memory I don't think
> jconsole includes it in "non-heap" as it doesn't show this as
> increasing, and jmap/jhat just dump/analyse the heap. Do you know of an
> application that can report native memory usage?
>
> Thanks,
> Steve
>
> Doron Cohen wrote:
> > Stephen Gray <Stephen.Gray@anu.edu.au> wrote on 17/05/2007 22:40:01:
> >
> >
> >> One interesting thing is that although the memory allocated as
> >> reported by the processes tab of Windows Task Manager goes up and up,
> >> and the JVM eventually crashes with an OutOfMemory error, the total
> size
> >> of heap + non-heap as reported by jconsole is constant and much lower
> >> than the Windows-reported allocated memory. I've also tried Netbeans
> >> profiler, which suggests that the variables in the heap that are
> >> continually surviving garbage collection do not all originate from one
> >> class.
> >>
> >
> > Smells like native memory leak? Can jconsole/jmap/jhat monitor native
> mem?
> > I once spent some time on what finally was a GZipOutputStream native mem
> > usage/leak. Moving from Java 1.5 to 1.6 could expose such problem...
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> > For additional commands, e-mail: java-user-help@lucene.apache.org
> >
> >
>
>
> --
> Stephen Gray
> Archive IT Officer
> Australian Social Science Data Archive
> 18 Balmain Crescent (Building #66)
> The Australian National University
> Canberra ACT 0200
>
> Phone +61 2 6125 2185
> Fax +61 2 6125 0627
> Web http://assda.anu.edu.au/
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-user-help@lucene.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message